mirror of
https://github.com/PreMiD/PreMiD.git
synced 2026-04-06 04:41:58 +02:00
26 lines
617 B
YAML
26 lines
617 B
YAML
name: Build, Lint and Test
|
|
on: [push, pull_request]
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v4
|
|
- name: Setup pnpm
|
|
uses: pnpm/action-setup@v3
|
|
- name: Setup Node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
cache: pnpm
|
|
node-version-file: package.json
|
|
- name: Install Dependencies
|
|
run: pnpm install
|
|
- name: Lint
|
|
run: pnpm run lint
|
|
- name: Build
|
|
run: pnpm run build
|
|
- name: Test
|
|
run: pnpm test
|
|
#TODO: Add Docker Build Step
|
|
#build-docker:
|