Skip to content

Commit

Permalink
build: 修改流程
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-light committed Mar 20, 2024
1 parent ea29efa commit 07789eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
# 执行多条脚本
- run: npm ci
- run: npm test
- run: npm run build

publish-npm:
needs: build
Expand All @@ -41,6 +40,7 @@ jobs:
node-version: 18
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wl-live2d",
"version": "1.0.4",
"version": "1.0.4-rc.1",
"description": "Live2D for web, 这是一个运行在浏览器环境的 Live2D 看板组件",
"author": "wonder-light",
"license": "MIT",
Expand Down

0 comments on commit 07789eb

Please sign in to comment.