Skip to content

Commit

Permalink
fix: push
Browse files Browse the repository at this point in the history
  • Loading branch information
shijinn520 committed May 16, 2024
1 parent 10066f4 commit b73f52b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: 16
registry-url: 'https://registry.npmjs.org/'
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

- name: Install Dependencies
run: npm install
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"package.json"
],
"scripts": {
"build": "node build.js"
"build": "node build.js",
"pub": "npm publish --access public"
}
}

0 comments on commit b73f52b

Please sign in to comment.