Skip to content

Create npm-publish-github-packages.yml #2

Create npm-publish-github-packages.yml

Create npm-publish-github-packages.yml #2

Workflow file for this run

name: Tests
on:
push:
branches: [canary]
pull_request:
branches: [canary]
jobs:
test:
name: 'Test all'
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.40.0-jammy
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Lint
run: npm run lint
- name: Run unit tests
run: npm test
- name: Build Next.js app and run tests
run: |
npm run start -w backend &
npm run start -w @neshca/server &
npm run build:app
npm run e2e