File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,16 +32,11 @@ jobs:
3232 with :
3333 bun-version : 1.2.16
3434
35- - name : Test npm auth
36- run : npm whoami
37- env :
38- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
39-
4035 - run : |
4136 bun install
4237 ./script/publish.ts
4338 working-directory: ./packages/opencode
4439 env:
4540 GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }}
4641 AUR_KEY: ${{ secrets.AUR_KEY }}
47- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
42+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ for (const [os, arch] of targets) {
5858 ) ,
5959 )
6060 if ( ! dry )
61- await $ `cd dist/${ name } && npm publish --access public --tag ${ npmTag } `
61+ await $ `cd dist/${ name } && bun publish --access public --tag ${ npmTag } `
6262 optionalDependencies [ name ] = version
6363}
6464
@@ -83,7 +83,7 @@ await Bun.file(`./dist/${pkg.name}/package.json`).write(
8383 ) ,
8484)
8585if ( ! dry )
86- await $ `cd ./dist/${ pkg . name } && npm publish --access public --tag ${ npmTag } `
86+ await $ `cd ./dist/${ pkg . name } && bun publish --access public --tag ${ npmTag } `
8787
8888if ( ! snapshot ) {
8989 // Github Release
You can’t perform that action at this time.
0 commit comments