Skip to content

Commit 90cf4d7

Browse files
committed
enable corepack in github action
1 parent 37aa4af commit 90cf4d7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
- uses: actions/setup-node@v4
1717
with:
1818
node-version: 20
19+
- run: corepack enable
1920
- run: yarn install --immutable
2021
# - run: npm test
2122

@@ -31,7 +32,9 @@ jobs:
3132
with:
3233
node-version: 20
3334
registry-url: https://registry.npmjs.org/
35+
- run: corepack enable
3436
- run: yarn install --immutable
35-
- run: yarn workspace @jdeniau/immutable-devtools npm publish --provenance
37+
- run: npm publish --provenance
38+
working-directory: ./packages/devtools
3639
env:
3740
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

packages/devtools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@
3232
},
3333
"repository": {
3434
"type": "git",
35-
"url": "git+https://github.com/jdeniau/immutable-devtools"
35+
"url": "git+https://github.com/immutable-js/immutable-devtools.git"
3636
}
3737
}

0 commit comments

Comments
 (0)