name: CI on: pull_request: push: branches: [main] permissions: contents: read concurrency: group: ci-${{ github.ref }} cancel-in-progress: true jobs: check: runs-on: ubuntu-latest defaults: run: working-directory: web steps: - uses: actions/checkout@v7 with: package_json_file: web/package.json - uses: actions/setup-node@v7 with: node-version: '24' cache: 'npm' cache-dependency-path: web/package-lock.json - run: npm ci --ignore-scripts - run: npm test - run: npm run lint # No BASE_PATH here: this checks that the app compiles. The base-path # behaviour is verified against a real preview before release. - run: npm run build scraper: runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 - uses: actions/setup-go@v6 with: go-version-file: data/go.mod - run: go build ./... && go test ./... working-directory: data