Skip to content

Commit

Permalink
Merge pull request #1267 from ml5js/joeyklee.fix-publish-trigger
Browse files Browse the repository at this point in the history
fix: #1265 - adds npmrc and updates publish yaml
  • Loading branch information
joeyklee authored Jan 21, 2022
2 parents 8823b12 + 6186027 commit 54db216
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: "v12.16.1"
node-version: "12.x"
registry-url: "https://registry.npmjs.org"
- run: npm ci
- run: npm run build --if-present
- run: npm publish
Expand Down
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}
registry=https://registry.npmjs.org/
always-auth=true

0 comments on commit 54db216

Please sign in to comment.