name: Web Unit Tests on: pull_request: paths: - "web/**" workflow_dispatch: jobs: run-tests: runs-on: ubuntu-latest defaults: run: working-directory: web steps: - uses: actions/checkout@v3 - name: Setup Node.js uses: actions/setup-node@v3 with: node-version: "22" cache: "npm" cache-dependency-path: web/package-lock.json - name: Install dependencies run: npm ci - name: Run Jest tests run: npx jest