Skip to content

Commit 24d5657

Browse files
committed
Merge branch 'main' into dev
2 parents 539efa5 + 4bb4d9b commit 24d5657

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/cd.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
permissions:
1010
id-token: write
11-
contents: read
11+
contents: write
1212

1313
jobs:
1414
deploy:
@@ -21,17 +21,21 @@ jobs:
2121
with:
2222
version: 10
2323
- name: Install Node
24-
uses: actions/setup-node@v4
24+
uses: actions/setup-node@v6
2525
with:
2626
node-version: 24
2727
registry-url: "https://registry.npmjs.org"
2828
cache: "pnpm"
2929
- name: Install dependencies and test
3030
run: pnpm install-test --frozen-lockfile
3131
- name: Publish
32-
run: pnpm publish --ignore-scripts --no-git-checks
33-
env:
34-
NPM_CONFIG_PROVENANCE: true
32+
uses: JS-DevTools/npm-publish@v4
33+
id: publish
34+
with:
35+
provenance: true
36+
ignore-scripts: true
37+
- if: ${{ steps.publish.outputs.type }}
38+
run: echo "Version changed!"
3539
- name: Pages
3640
run: pnpm run deploy
3741
- uses: JamesIves/github-pages-deploy-action@v4

0 commit comments

Comments
 (0)