Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
try another action
Browse files Browse the repository at this point in the history
  • Loading branch information
m1m1s1ku committed Aug 26, 2022
1 parent 3e69e24 commit b4f8140
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ jobs:
- run: npm ci
- run: npm test

publish-gpr:
npm-publish:
name: npm-publish
needs: build
runs-on: ubuntu-latest
permissions:
Expand All @@ -27,10 +28,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org
- run: npm ci
- run: npm publish
- name: Publish if version has been updated
uses: pascalgn/npm-publish-action@1.3.9
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
NPM_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit b4f8140

Please sign in to comment.