Skip to content

Commit 3bc2bc6

Browse files
authored
chore: switch to trusted publishing release workflow (#684)
1 parent b431103 commit 3bc2bc6

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ jobs:
77
release:
88
runs-on: ubuntu-latest
99
permissions:
10+
id-token: write
1011
contents: read
11-
packages: write
1212
steps:
1313
- name: "Clone Repository"
1414
uses: actions/checkout@v4
1515
- name: "Set up Node.js"
1616
uses: actions/setup-node@v4
1717
with:
18-
node-version: "22.x"
18+
node-version: "24"
1919
registry-url: "https://registry.npmjs.org"
2020
- name: "Install dependencies"
2121
run: npm install --no-save
@@ -27,5 +27,3 @@ jobs:
2727
run: npm test
2828
- run: npm ci
2929
- run: npm publish
30-
env:
31-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)