feat(builder): enable full ENS featureset with mainnet L1 fallback #952
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
| # Public npm version check workflow | |
| # ================================= | |
| name: Check Version Sync | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - develop | |
| - "release/**" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| check-versions: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0 | |
| with: | |
| egress-policy: audit | |
| - name: Checkout | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Prepare pre-requisites | |
| uses: ./.github/actions/prepare | |
| - name: Configure npm authentication for npm registry | |
| env: | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| run: | | |
| echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Build all packages | |
| run: pnpm run build | |
| env: | |
| NODE_OPTIONS: "--max-old-space-size=8192" | |
| - name: Update export versions | |
| run: pnpm run update-export-versions | |
| - name: Check for changes | |
| run: | | |
| if ! git diff --exit-code apps/builder/src/export/versions.ts; then | |
| echo "❌ Error: apps/builder/src/export/versions.ts is out of sync with resolved npm versions" | |
| echo "Adapter lines are sourced from published npm metadata (or LOCAL_ADAPTERS_PATH when set locally)." | |
| echo "Run 'pnpm run update-export-versions' (with registry access) and commit the changes." | |
| exit 1 | |
| fi | |
| echo "✅ versions.ts matches resolved published versions (adapters + @openzeppelin/ui-*)" |