name: 'Run unit tests.' on: # rebuild any PRs and main branch changes pull_request: branches: - main - 'releases/*' push: branches: - main - 'releases/*' jobs: build: # make sure build/ci works properly runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Build and run L0 tests. run: | npm install npm test