Skip to content

Commit

Permalink
👷 Use npm publish instead of action
Browse files Browse the repository at this point in the history
  • Loading branch information
arelstone committed Oct 20, 2021
1 parent 7ac0948 commit 7859c90
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,10 @@ jobs:
- uses: actions/checkout@v2
- uses: paralenz/actions/setup-node@master
- uses: paralenz/actions/publish-release@master
- name: Extract version
id: extract_version
uses: Saionaro/[email protected]
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ inputs.token }}
registry: https://npm.pkg.github.com/
tag: v${{ steps.extract_version.outputs.version }}
- name: Publish
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

# - name: Update Dependencies
# run: |
Expand Down

0 comments on commit 7859c90

Please sign in to comment.