File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,20 +21,16 @@ jobs:
2121 uses : actions/setup-node@v3
2222 with :
2323 cache : " pnpm"
24- - name : Install dependencies
25- run : pnpm install --frozen-lockfile
24+ - name : Install dependencies and test
25+ run : pnpm install-test --frozen-lockfile
2626 - name : Publish
2727 id : publish
28- uses : JS-DevTools/npm-publish@v2
28+ uses : JS-DevTools/npm-publish@v3
2929 with :
3030 token : ${{ secrets.NPM_TOKEN }}
31- ignore-scripts : false
3231 - if : ${{ steps.publish.outputs.type }}
3332 run : |
34- echo "Version changed: ${{ steps.publish.outputs.old-version }} → ${{ steps.publish.outputs.version }}"
35- - if : ${{ !steps.publish.outputs.type }}
36- run : |
37- pnpm run prepublishOnly
33+ echo "Published version: ${{ steps.publish.outputs.version }}"
3834 - name : Deploy
3935 run : pnpm run deploy
4036 - uses : JamesIves/github-pages-deploy-action@v4
You can’t perform that action at this time.
0 commit comments