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

Commit

Permalink
fixed workflow (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
eugene-f02 authored May 12, 2023
1 parent 2148d8e commit da2a73d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 16
- run: echo "github.event.release.target_commitish=${{github.event.release.target_commitish}}, github.event_name=${{ github.event_name }}, github.ref=${{ github.ref }}, prerelease=${{github.event.release.prerelease}}, dryrun= ${{ github.event_name != 'release' || github.event.release.target_commitish != 'master' || github.event.release.prerelease }}"
- run: npm install --only=prod
- uses: JS-DevTools/npm-publish@v1
with:
registry: https://npm.pkg.github.com
token: ${{ secrets.NPM_TOKEN }}
dry-run: ${{ github.event_name != 'release' || github.ref != 'refs/heads/master' }}
dry-run: ${{ github.event_name != 'release' || github.event.release.target_commitish != 'master' || github.event.release.prerelease }}

0 comments on commit da2a73d

Please sign in to comment.