fix(e2e,src,tests): preserve workbook verification receipts #1223
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: CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| verify: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| cache: npm | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| cache-dependency-path: scripts/requirements-spreadsheetbench-ci.txt | |
| - name: Install Python test dependencies | |
| run: python -m pip install --requirement scripts/requirements-spreadsheetbench-ci.txt | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Install Playwright browsers | |
| run: npx playwright install --with-deps chromium | |
| - name: Check commit message accuracy | |
| shell: bash | |
| run: | | |
| if [ "${{ github.event_name }}" = "pull_request" ]; then | |
| npm run commit:check:range -- "${{ github.event.pull_request.base.sha }}..HEAD" | |
| elif [ "${{ github.event.before }}" != "0000000000000000000000000000000000000000" ]; then | |
| npm run commit:check:range -- "${{ github.event.before }}..HEAD" | |
| else | |
| npm run commit:check | |
| fi | |
| - name: Production gate | |
| run: npm run prod:gate | |
| - name: Ladder eval | |
| run: npm run ladder |