Skip to content

Merge pull request #194 from blegodwin/rest-crud #14

Merge pull request #194 from blegodwin/rest-crud

Merge pull request #194 from blegodwin/rest-crud #14

Workflow file for this run

name: API
on:
push:
branches: [main]
pull_request:
paths:
- 'apps/api/**'
- 'packages/shared/**'
- 'package.json'
- 'package-lock.json'
- '.github/workflows/api.yml'
jobs:
api:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Build shared package
run: npm run build -w @discoverly/shared
- name: Lint
run: npm run lint -w @discoverly/api
- name: Test
run: npm run test -w @discoverly/api
- name: Build
run: npm run build -w @discoverly/api