From 02cf28ab2784a863184f1de67e74e2353c87af10 Mon Sep 17 00:00:00 2001 From: andrew Date: Thu, 21 May 2026 14:54:49 -0300 Subject: [PATCH 1/3] remove cache in publish workflow --- .github/workflows/release-publish.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index bb98709..302fc26 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -99,8 +99,16 @@ jobs: echo "- Trigger: $EVENT" } >> $GITHUB_STEP_SUMMARY - - name: Setup Environment - uses: ./.github/actions/setup + - name: Enable corepack + run: corepack enable + + - name: Setup Node.js + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0 + with: + node-version-file: ".nvmrc" + + - name: Install dependencies + run: yarn install --immutable - name: Build package run: yarn build --filter=@openzeppelin/${{ steps.pkg.outputs.name }} From 791b77a9985c0295404bab19f8f445238328d2b3 Mon Sep 17 00:00:00 2001 From: andrew Date: Thu, 21 May 2026 15:14:46 -0300 Subject: [PATCH 2/3] enable corepack after setup node --- .github/workflows/release-publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index 302fc26..fbc88f0 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -99,14 +99,14 @@ jobs: echo "- Trigger: $EVENT" } >> $GITHUB_STEP_SUMMARY - - name: Enable corepack - run: corepack enable - - name: Setup Node.js uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0 with: node-version-file: ".nvmrc" + - name: Enable corepack + run: corepack enable + - name: Install dependencies run: yarn install --immutable From 52269d5434f08d35ab55c6a50172c8e2cbea7718 Mon Sep 17 00:00:00 2001 From: andrew Date: Thu, 21 May 2026 15:24:15 -0300 Subject: [PATCH 3/3] set explicit false for node package-manager-cache --- .github/workflows/release-publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index fbc88f0..b6beb43 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -103,6 +103,7 @@ jobs: uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0 with: node-version-file: ".nvmrc" + package-manager-cache: false # Prevent cache poisoning issues - name: Enable corepack run: corepack enable