Skip to content

Commit

Permalink
publish script changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lisaavikarii committed Feb 13, 2022
1 parent 574f3c9 commit babd3e0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,19 @@ jobs:
- name: Begin CI...
uses: actions/checkout@v2

- name: Use Node 12
- name: Use Node 16
uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: 16.x
registry-url: https://registry.npmjs.org

- name: NPM Publish
run: |
if [ -e package-lock.json ]; then
npm ci
else
npm i
fi
npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

0 comments on commit babd3e0

Please sign in to comment.