Archive modernization program docs #190
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: Simple Comment | |
| on: | |
| pull_request: | |
| branches: [master] | |
| jobs: | |
| test-netlify-functions: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js 22.x | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| - name: Install | |
| # CI/local parity governance: any mirrored CI step/env change in this | |
| # workflow MUST be reflected in scripts/ci-local.sh / yarn run ci:local. | |
| # Source of truth: docs/norms/ci-parity.md | |
| run: | | |
| npm install yarn@^1 --no-package-lock -g | |
| yarn --frozen-lockfile --production=false --ignore-optional | |
| - name: Lint | |
| run: yarn run lint | |
| - name: Format | |
| run: yarn run prettier --list-different . | |
| - name: Build Netlify functions | |
| run: yarn run build:netlify | |
| - name: Test Netlify functions and frontend | |
| env: | |
| # @shelf/jest-mongodb's bundled mongodb-memory-server version in this repo | |
| # does not support MONGOMS_DISTRO; pin a known-valid download URL instead. | |
| MONGOMS_DOWNLOAD_URL: https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2204-6.0.14.tgz | |
| TZ: UTC | |
| run: | | |
| yarn test:backend | |
| yarn test:frontend |