Skip to content

Commit b665356

Browse files
committed
WIP
1 parent 86e22ab commit b665356

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

.github/workflows/canary.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)