Skip to content

Commit 810bbe6

Browse files
committed
Update publish workflow
1 parent 34ef010 commit 810bbe6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,16 @@ jobs:
1818
name: Publish
1919
runs-on: ubuntu-24.04-arm
2020
permissions:
21-
contents: read
21+
contents: write
2222
id-token: write
2323
steps:
2424
- name: Setup node@24
2525
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
2626
with:
2727
node-version: 24
2828
registry-url: "https://registry.npmjs.org"
29+
- name: Install latest npm
30+
run: npm install -g npm@latest
2931
- name: Install pnpm
3032
run: npm install -g pnpm
3133
- name: Checkout repository
@@ -50,6 +52,3 @@ jobs:
5052
else
5153
echo "Not a release, skipping publish"
5254
fi
53-
env:
54-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
55-
NPM_CONFIG_PROVENANCE: true

0 commit comments

Comments
 (0)