Record what it takes to import a protocol written for humans #45
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: verify | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| verify: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version-file: .nvmrc | |
| cache: npm | |
| - run: npm ci | |
| # The browser the journey runs in. Only chromium: the app is a local | |
| # tool, and a second engine would double the run for no question it | |
| # answers. | |
| - run: npx playwright install --with-deps chromium | |
| # The same gate contributors run locally, plus the production build and | |
| # the browser journey. Nothing is checked here that ./verify.sh does not | |
| # check; the local default stays fast by leaving these two off. | |
| - run: ./verify.sh --build --e2e | |
| # The evidence a failure is diagnosed from, and the screenshots the | |
| # design review reads. Uploaded on failure and on success both: a green | |
| # run's screenshots are the record of what the app actually looked like | |
| # at that commit, which is the point of photographing it. | |
| - if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: evidence | |
| path: | | |
| review/ | |
| test-results/ | |
| playwright-report/ | |
| retention-days: 14 | |
| if-no-files-found: ignore |