Skip to content

Commit 0df870c

Browse files
authored
Update publish-node.js.yml
1 parent d2a300f commit 0df870c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish-node.js.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
ref: ${{ github.event.release.target_commitish }}
1818
- uses: actions/setup-node@v3
1919
with:
20-
node-version: 18
20+
node-version: 20
2121
cache: 'npm'
2222
- run: git config --global user.name "GitHub CD bot"
2323
- run: git config --global user.email "[email protected]"
2424
- run: npm version ${{ github.event.release.tag_name }}
2525
- run: npm i
26-
- run: unset NODE_OPTIONS && npm run build
26+
- run: NODE_OPTIONS=--openssl-legacy-provider && npm run build
2727
- uses: JS-DevTools/npm-publish@v1
2828
with:
2929
token: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)