Skip to content

Add CI workflow for testing on push and pull request #1

Add CI workflow for testing on push and pull request

Add CI workflow for testing on push and pull request #1

Workflow file for this run

name: Test
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm run build --workspaces --if-present
- run: npm test --workspaces --if-present