Skip to content

Commit 6c3517d

Browse files
committed
Update cd.yml
1 parent a2dbf85 commit 6c3517d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/cd.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ on:
44
workflow_dispatch:
55
push:
66
tags:
7-
- "*"
7+
- "v*"
8+
9+
permissions:
10+
id-token: write
11+
contents: read
812

913
jobs:
1014
deploy:
@@ -21,13 +25,13 @@ jobs:
2125
uses: actions/setup-node@v4
2226
with:
2327
node-version: 24
28+
registry-url: 'https://registry.npmjs.org'
2429
cache: "pnpm"
2530
- name: Install and test
2631
run: pnpm install-test --frozen-lockfile
2732
- name: Publish
2833
run: pnpm publish --ignore-scripts
2934
env:
30-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3135
NPM_CONFIG_PROVENANCE: true
3236
- name: Pages
3337
run: pnpm run deploy

0 commit comments

Comments
 (0)