Skip to content

Commit 86ee9d7

Browse files
authored
Merge pull request #26 from phantom/kuba/fix-publishing
fix: enable corepack after setting up node and npm versions
2 parents 1cb801b + bd6c275 commit 86ee9d7

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,17 @@ jobs:
2525
- name: Checkout Repo
2626
uses: actions/checkout@v4
2727

28-
- name: Enable Corepack
29-
run: corepack enable
30-
3128
- name: Setup Node.js 20.x
3229
uses: actions/setup-node@v4
3330
with:
3431
node-version: 20.x
35-
cache: "yarn"
3632
registry-url: "https://registry.npmjs.org"
3733

3834
- name: Ensure npm 11.5.1+ for trusted publishing
39-
run: npm install -g npm@^11.5.1
35+
run: npm install -g npm@^11.8.0
36+
37+
- name: Enable Corepack
38+
run: corepack enable
4039

4140
- name: Install Dependencies
4241
run: yarn

0 commit comments

Comments
 (0)