Skip to content

Commit

Permalink
fix(ci): fix publish ci error
Browse files Browse the repository at this point in the history
  • Loading branch information
ysfscream committed Nov 8, 2023
1 parent 0d292b0 commit a1e8b3e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Publish to npm
run: pnpm test && pnpm build && pnpm publish
run: pnpm test && pnpm build && pnpm run release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion packages/i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
"version:patch": "npm version patch",
"version:minor": "npm version minor",
"version:major": "npm version major",
"publish": "npm publish"
"release": "npm publish"
}
}
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
"version:patch": "npm version patch",
"version:minor": "npm version minor",
"version:major": "npm version major",
"publish": "npm publish"
"release": "npm publish"
}
}

0 comments on commit a1e8b3e

Please sign in to comment.