Skip to content

Commit 20189ff

Browse files
author
Vladyslav Lyshenko
committed
fix: try to fix release yml
1 parent e11b0d1 commit 20189ff

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ jobs:
1010
environment: npm
1111
permissions:
1212
id-token: write # required for npm trusted publishing (OIDC)
13+
contents: read
1314

1415
steps:
1516
- uses: actions/checkout@v4
1617

1718
- name: Setup Node.js
1819
uses: actions/setup-node@v4
1920
with:
20-
node-version: "20"
21+
node-version: "24"
2122
registry-url: "https://registry.npmjs.org"
2223

2324
- name: Set version from tag
@@ -26,6 +27,4 @@ jobs:
2627
npm version "$VERSION" --no-git-tag-version
2728
2829
- name: Publish to npm
29-
run: npm publish --access public --provenance
30-
env:
31-
NODE_AUTH_TOKEN: "" # clear GitHub token so npm falls back to OIDC trusted publishing
30+
run: npm publish

0 commit comments

Comments
 (0)