Fix sub-10-second tick granularity gap and add CI for web-server tests #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Web Server Unit Tests | |
| on: | |
| pull_request: | |
| branches: [ "main" ] | |
| paths: | |
| - 'web-server/**' | |
| push: | |
| branches: [ "main" ] | |
| paths: | |
| - 'web-server/**' | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js 22 | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 22 | |
| - name: Install dependencies | |
| run: yarn install --frozen-lockfile | |
| working-directory: web-server | |
| - name: Run tests | |
| run: npx jest --watchAll=false --passWithNoTests | |
| working-directory: web-server |