File tree Expand file tree Collapse file tree 2 files changed +9
-14
lines changed
Expand file tree Collapse file tree 2 files changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -11,28 +11,24 @@ jobs:
1111 name : Deploy
1212 runs-on : ubuntu-latest
1313 steps :
14- - name : Git checkout
15- uses : actions/checkout@v4
14+ - uses : actions/checkout@v5
1615 - name : Install PNPM
1716 uses : pnpm/action-setup@v4
1817 with :
1918 version : 10
2019 - name : Install Node
2120 uses : actions/setup-node@v4
2221 with :
23- node-version : 22
22+ node-version : 24
2423 cache : " pnpm"
2524 - name : Install dependencies and test
2625 run : pnpm install-test --frozen-lockfile
2726 - name : Publish
28- id : publish
29- uses : JS-DevTools/npm-publish@v3
30- with :
31- token : ${{ secrets.NPM_TOKEN }}
32- - if : ${{ steps.publish.outputs.type }}
33- run : |
34- echo "Published version: ${{ steps.publish.outputs.version }}"
35- - name : Deploy
27+ run : pnpm publish --ignore-scripts
28+ env :
29+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
30+ NPM_CONFIG_PROVENANCE : true
31+ - name : Pages
3632 run : pnpm run deploy
3733 - uses : JamesIves/github-pages-deploy-action@v4
3834 with :
Original file line number Diff line number Diff line change @@ -11,16 +11,15 @@ jobs:
1111 name : Test
1212 runs-on : ubuntu-latest
1313 steps :
14- - name : Git checkout
15- uses : actions/checkout@v4
14+ - uses : actions/checkout@v5
1615 - name : Install PNPM
1716 uses : pnpm/action-setup@v4
1817 with :
1918 version : 10
2019 - name : Install Node
2120 uses : actions/setup-node@v4
2221 with :
23- node-version : 22
22+ node-version : 24
2423 cache : " pnpm"
2524 - name : Install and test
2625 run : pnpm install-test --frozen-lockfile
You can’t perform that action at this time.
0 commit comments