Skip to content

Commit

Permalink
Update npm-publish.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
redhoyasa authored Oct 29, 2020
1 parent db12993 commit 770fa9a
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/npm-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,8 @@ jobs:
uses: actions/setup-node@v2-beta
with:
node-version: 12.0.0
- name: Setup NPM credentials
run: echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" >> ~/.npmrc
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- run: npm install
- run: npm run build
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@master
- uses: JS-DevTools/npm-publish@v1
with:
publish: npm publish
commit: 'Bump up version'
title: 'Upcoming Release Changes'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

token: ${{ secrets.NPM_AUTH_TOKEN }}

0 comments on commit 770fa9a

Please sign in to comment.