Skip to content

Commit 9ec36b0

Browse files
committed
Update cd.yml
1 parent 385ef20 commit 9ec36b0

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:
@@ -20,13 +24,13 @@ jobs:
2024
uses: actions/setup-node@v4
2125
with:
2226
node-version: 24
27+
registry-url: "https://registry.npmjs.org"
2328
cache: "pnpm"
2429
- name: Install dependencies and test
2530
run: pnpm install-test --frozen-lockfile
2631
- name: Publish
2732
run: pnpm publish --ignore-scripts
2833
env:
29-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3034
NPM_CONFIG_PROVENANCE: true
3135
- name: Pages
3236
run: pnpm run deploy

0 commit comments

Comments
 (0)