feat(import): prompt enhancements, editable values/units, multi-lang labs, broader hormones #2262
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
| # CI test workflow. Runs on every PR + push to main. | |
| # | |
| # Runs the full ./run-tests.sh battery: | |
| # - Node-side tests (native-dialog guard, lens-local-utils, dev-server | |
| # origin guard) | |
| # - Playwright-driven web-app suite | |
| name: Tests | |
| on: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run typecheck | |
| run: npm run typecheck | |
| - name: Cache Playwright browsers | |
| uses: actions/cache@v5 | |
| with: | |
| path: ~/.cache/ms-playwright | |
| key: playwright-${{ runner.os }}-${{ hashFiles('package-lock.json') }} | |
| restore-keys: | | |
| playwright-${{ runner.os }}- | |
| - name: Install Playwright Chromium | |
| run: npx playwright install --with-deps chromium | |
| - name: Resolve catalog file (fetch from private source if creds set, else use stub) | |
| env: | |
| CATALOG_FETCH_URL: ${{ secrets.CATALOG_FETCH_URL }} | |
| CATALOG_FETCH_TOKEN: ${{ secrets.CATALOG_FETCH_TOKEN }} | |
| run: node scripts/fetch-catalog.mjs | |
| - name: Run test suite | |
| run: ./run-tests.sh | |
| - name: Upload test logs on failure | |
| if: failure() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: test-logs | |
| path: /tmp/dev-server.log | |
| if-no-files-found: ignore | |
| retention-days: 7 |