Skip to content

Commit

Permalink
Merge pull request #6 from shoutout-labs/development-madura
Browse files Browse the repository at this point in the history
update workflow file
  • Loading branch information
asanka-x authored Sep 8, 2021
2 parents fde37fc + c682e65 commit dd4cbc1
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 12

- run: 'rm .npmrc'
shell: bash

- run: 'echo "//npm.pkg.github.com/:_authToken=$NPM_TOKEN" >> .npmrc'
shell: bash
env:
NPM_TOKEN: ${{ secrets.NPM_PKG_TOKEN }}
- run: 'echo "@shoutout-labs:registry=https://npm.pkg.github.com/shoutout-labs" >> .npmrc'
shell: bash

- run: npm i
- run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
- run: npm run lint-lite
Expand All @@ -27,6 +38,17 @@ jobs:
with:
node-version: 12
registry-url: https://npm.pkg.github.com

- run: 'rm .npmrc'
shell: bash

- run: 'echo "//npm.pkg.github.com/:_authToken=$NPM_TOKEN" >> .npmrc'
shell: bash
env:
NPM_TOKEN: ${{ secrets.NPM_PKG_TOKEN }}
- run: 'echo "@shoutout-labs:registry=https://npm.pkg.github.com/shoutout-labs" >> .npmrc'
shell: bash

- run: npm i
- run: npm publish
env:
Expand Down

0 comments on commit dd4cbc1

Please sign in to comment.