Skip to content

Commit b45e141

Browse files
committed
Use JS-DevTools/npm-publish action with Node 24 for OIDC
1 parent fc3a6d8 commit b45e141

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Setup Node
2828
uses: actions/setup-node@v4
2929
with:
30-
node-version: '20'
30+
node-version: '24' # Node 24 includes npm 11+ with OIDC support
3131

3232
- name: Install dependencies
3333
run: npm install
@@ -72,8 +72,10 @@ jobs:
7272
git push origin main --tags
7373
7474
- name: Publish to npm
75-
run: npm publish --access public
76-
working-directory: packages/create-unmint
75+
uses: JS-DevTools/npm-publish@v4
76+
with:
77+
package: packages/create-unmint/package.json
78+
access: public
7779

7880
- name: Create GitHub Release
7981
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)