Skip to content

Commit

Permalink
fix: fix workflow error
Browse files Browse the repository at this point in the history
  • Loading branch information
CesarLai committed Jan 20, 2024
1 parent 1f9ad9a commit a2e59a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ jobs:
- run: npm i -g pnpm@${PNPM_VERSION}
- run: pnpm install
- run: pnpm build
- run: pnpm publish
- run: pnpm run publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
},
"scripts": {
"prepublish": "npm run build",
"build": "rimraf dist && tspc"
"build": "rimraf dist && tspc",
"publish": "pnpm publish --no-git-checks"
},
"dependencies": {
"dayjs": "1.11.10",
Expand Down

0 comments on commit a2e59a0

Please sign in to comment.