File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 2323 - name : Set up Node.js
2424 uses : actions/setup-node@v4
2525 with :
26- node-version : 18
26+ node-version : 20
2727 registry-url : ' https://registry.npmjs.org'
2828
2929 - name : Install packages
3434 run : yarn lint && yarn test
3535 - name : Deploy to NPM
3636 if : github.repository_owner == 'Authress' && github.ref != 'refs/heads/main' && github.ref != 'refs/heads/master' && github.event_name == 'push'
37- run : npm publish --access public
37+ # Version 11.5.1 or later is required for npm publish
38+ run : |
39+ npm install -g npm@11.5.1
40+ npm publish --access public
3841
3942 - name : After build
4043 if : github.repository_owner == 'Authress' && github.ref != 'refs/heads/main' && github.ref != 'refs/heads/master' && github.event_name == 'push'
You can’t perform that action at this time.
0 commit comments