Skip to content

Commit

Permalink
Update publish-node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kobenguyent authored Feb 8, 2024
1 parent d2a300f commit 0df870c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
ref: ${{ github.event.release.target_commitish }}
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
cache: 'npm'
- run: git config --global user.name "GitHub CD bot"
- run: git config --global user.email "[email protected]"
- run: npm version ${{ github.event.release.tag_name }}
- run: npm i
- run: unset NODE_OPTIONS && npm run build
- run: NODE_OPTIONS=--openssl-legacy-provider && npm run build
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 0df870c

Please sign in to comment.