Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
morris committed Feb 11, 2024
1 parent a8c6d01 commit 9e35e65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ jobs:
registry-url: https://registry.npmjs.org
- run: npm info $(node -p "require('./package.json').name")@$(node -p "require('./package.json').version") || ALREADY_PUBLISHED=1
- run: npm install
if: $ALREADY_PUBLISHED != 1
if: env.ALREADY_PUBLISHED != 1
- run: npm run build
if: $ALREADY_PUBLISHED != 1
if: env.ALREADY_PUBLISHED != 1
- run: npm run publish
if: $ALREADY_PUBLISHED != 1
if: env.ALREADY_PUBLISHED != 1
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 9e35e65

Please sign in to comment.