Skip to content

Commit

Permalink
Update: publish npm
Browse files Browse the repository at this point in the history
  • Loading branch information
kainonly committed Mar 1, 2023
1 parent a3a14e2 commit fc88c98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
run: |
cd ./dist/angular
cd ./dist/library
npm version ${{github.ref_name}}
npm publish --access=public
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"preview:zh": "ng s --configuration zh",
"build": "ng b --configuration production",
"build:ssr": "npm run build && ng run console:server",
"build:ng": "ng b angular --configuration production",
"build:ng": "ng b angular",
"serve:ssr": "node dist/console/server/main.js",
"test": "ng t angular --code-coverage --no-watch --no-progress --browsers=ChromeHeadlessCI",
"lint": "ng lint",
Expand Down

0 comments on commit fc88c98

Please sign in to comment.