Skip to content

Commit

Permalink
PIXEL-520 Update CI Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Paulo Santos committed Oct 24, 2024
1 parent ae796bf commit 58a016b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,15 @@ jobs:
echo "online-version=$(npm view ${{steps.package.outputs.name}}@latest version)" >> $GITHUB_OUTPUT
- name: Print versions
id: print-versions
run: |
echo "ONLINE VERSION: ${{ steps.online-versions.outputs.online-version}}"
echo "THIS VERSION: ${{ steps.package.outputs.version}}"
- name: Publish to NPM
if: steps.package.outputs.version != steps.online-versions.outputs.online-version
run: |
npm ci
npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 58a016b

Please sign in to comment.