Skip to content

Commit

Permalink
update workflow;
Browse files Browse the repository at this point in the history
  • Loading branch information
ricki-epsilla committed Dec 6, 2023
1 parent 50ee7f5 commit 747ed66
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/npm-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ jobs:
id: package_version
run: echo "::set-output name=VERSION::$(node -p "require('./package.json').version")"

- name: Check npm view
run: |
VERSION=${{ steps.package_version.outputs.VERSION }}
echo "Checking version $VERSION"
npm view epsillajs@$VERSION
- name: Check if version already published
run: |
VERSION=${{ steps.package_version.outputs.VERSION }}
Expand Down

0 comments on commit 747ed66

Please sign in to comment.