Skip to content

Commit

Permalink
[ADD] ci to npm package
Browse files Browse the repository at this point in the history
  • Loading branch information
kenriortega committed Mar 6, 2021
1 parent c6b1cca commit 3d098fb
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,21 @@ jobs:
with:
node-version: 14.x
- run: npm ci
# - run: npm run build
# - run: npm run lint
# - run: npm test

# publish-npm:
# needs: build
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v1
# - uses: actions/setup-node@v1
# with:
# node-version: 12
# registry-url: https://registry.npmjs.org/
# - run: npm ci
# - run: npm publish --access public
# env:
# NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 14.x
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

publish-gpr:
needs: build
Expand Down

0 comments on commit 3d098fb

Please sign in to comment.