Skip to content

Commit 2d7b631

Browse files
Remove cache in publish workflow (#93)
* remove cache in publish workflow * enable corepack after setup node * set explicit false for node package-manager-cache
1 parent 2fe8889 commit 2d7b631

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/release-publish.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,17 @@ jobs:
9999
echo "- Trigger: $EVENT"
100100
} >> $GITHUB_STEP_SUMMARY
101101
102-
- name: Setup Environment
103-
uses: ./.github/actions/setup
102+
- name: Setup Node.js
103+
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
104+
with:
105+
node-version-file: ".nvmrc"
106+
package-manager-cache: false # Prevent cache poisoning issues
107+
108+
- name: Enable corepack
109+
run: corepack enable
110+
111+
- name: Install dependencies
112+
run: yarn install --immutable
104113

105114
- name: Build package
106115
run: yarn build --filter=@openzeppelin/${{ steps.pkg.outputs.name }}

0 commit comments

Comments
 (0)