Nightly Parity #36
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: Nightly Parity | |
| on: | |
| schedule: | |
| - cron: '23 2 * * *' | |
| workflow_dispatch: | |
| jobs: | |
| parity: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: docker/setup-qemu-action@v3 | |
| with: | |
| platforms: arm64 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22.x | |
| - name: Get yarn cache directory path | |
| id: yarn-cache-dir-path | |
| run: echo "dir=$(corepack yarn config get cacheFolder)" >> $GITHUB_OUTPUT | |
| - uses: actions/cache@v5 | |
| with: | |
| path: | | |
| ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
| .yarn | |
| .cache | |
| key: ${{ runner.os }}-nightly-parity-${{ hashFiles('**/yarn.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-nightly-parity- | |
| ${{ runner.os }}-yarn- | |
| - name: Install Dependencies | |
| run: | | |
| corepack yarn | |
| - name: Refresh live upstream snapshots | |
| run: | | |
| corepack yarn refresh:upstream-surface | |
| - name: Verify upstream snapshot drift | |
| run: | | |
| git diff --exit-code -- test/parity/fixtures/upstream-surface | |
| - name: Upstream surface inventory | |
| run: | | |
| corepack yarn test:upstream-surface | |
| - name: Run full parity suite | |
| run: | | |
| corepack yarn test:parity |