Browse Source

attempt to pusblish to github package

main
butlerx 3 years ago
parent
commit
58ec34bb53
No known key found for this signature in database GPG Key ID: B37CA765BAA89170
  1. 13
      .github/workflows/publish.yml

13
.github/workflows/publish.yml

@ -33,3 +33,16 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.npm_token }}
- uses: actions/setup-node@v2
with:
registry-url: 'https://npm.pkg.github.com'
- name: Publish to Guthib PKG if version has been updated
uses: pascalgn/npm-publish-action@1.3.8
with:
tag_name: 'v%s'
tag_message: 'v%s'
commit_pattern: "^Release (\\S+)"
publish_args: '--non-interactive'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NP<_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Loading…
Cancel
Save