File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,16 +44,17 @@ jobs:
4444 - name : Update package.json version
4545 run : |
4646 bun --bun -e "
47- const pkg = require('./package.json');
48- pkg.version = '${{ steps.version.outputs.canary_version }}';
49- require('fs').writeFileSync('package.json', JSON.stringify(pkg, null, 2));
47+ const pkg = require('./package.json');
48+ pkg.version = '${{ steps.version.outputs.canary_version }}';
49+ require('fs').writeFileSync('package.json', JSON.stringify(pkg, null, 2));
5050 "
5151
52- - name : Setup NPM authentication
53- run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
52+ - uses : actions/setup-node@v4
53+ with :
54+ node-version : " 20"
55+
56+ - name : Update npm
57+ run : npm install -g npm@latest
5458
5559 - name : Publish canary release
56- run : |
57- npm publish --tag canary --access public
58- env :
59- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
60+ run : npm publish --tag canary --access public
You can’t perform that action at this time.
0 commit comments