Skip to content

Commit 26af128

Browse files
committed
enable corepack in github action
1 parent 37aa4af commit 26af128

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
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 }}

0 commit comments

Comments
 (0)