Skip to content

Commit f6d5512

Browse files
committed
Switch to trusted publishing
1 parent 56d0067 commit f6d5512

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Main
22

33
on: push
44

5+
permissions:
6+
id-token: write
7+
contents: read
8+
59
jobs:
610
build:
711
name: Build
@@ -10,7 +14,7 @@ jobs:
1014
- uses: actions/checkout@v4
1115
- uses: pnpm/action-setup@v4
1216
with:
13-
version: 10.27.0
17+
version: 10.27.0`
1418

1519
- uses: actions/setup-node@v4
1620
with:
@@ -40,8 +44,6 @@ jobs:
4044
with:
4145
node-version: 24
4246
registry-url: 'https://registry.npmjs.org'
43-
env:
44-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4547

4648
- name: Download build files
4749
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)