File tree Expand file tree Collapse file tree 2 files changed +11
-13
lines changed
Expand file tree Collapse file tree 2 files changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,14 @@ jobs:
1010 runs-on : ubuntu-latest
1111 permissions :
1212 contents : read
13- packages : write
1413 steps :
1514 - uses : actions/checkout@v4
15+ - uses : oven-sh/setup-bun@v2
1616 - uses : actions/setup-node@v4
1717 with :
1818 node-version : " 20.x"
19- - uses : pnpm/action-setup@v4
20- - run : pnpm install
21- - run : pnpm test
22- - run : pnpm build
23- - run : pnpm typecheck
24- - run : pnpm stylecheck
19+ - run : bun install --frozen-lockfile
20+ - run : bun run test
21+ - run : bun run build
22+ - run : bun run typecheck
23+ - run : bun run stylecheck
Original file line number Diff line number Diff line change @@ -23,17 +23,16 @@ jobs:
2323 with :
2424 fetch-depth : 0
2525
26- - uses : pnpm/action- setup@v4
26+ - uses : oven-sh/ setup-bun@v2
2727
2828 - uses : actions/setup-node@v4
2929 with :
3030 node-version : " 20.x"
3131 registry-url : " https://registry.npmjs.org"
3232 scope : " @openrouter"
33- cache : pnpm
3433
3534 - name : Install dependencies
36- run : pnpm install --frozen-lockfile
35+ run : bun install --frozen-lockfile
3736
3837 - name : Upgrade npm for OIDC support
3938 run : npm install -g npm@latest
4241 id : changesets
4342 uses : changesets/action@v1
4443 with :
45- version : pnpm changeset-version
44+ version : bun run changeset-version
4645 env :
4746 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4847
8079
8180 - name : Publish with OIDC
8281 if : steps.changesets.outputs.hasChangesets == 'false'
83- run : pnpm changeset-publish
82+ run : bun run changeset-publish
8483 env :
8584 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8685
9190 echo "Versions:"
9291 echo " Node: $(node --version)"
9392 echo " npm: $(npm --version)"
94- echo " pnpm : $(pnpm --version)"
93+ echo " bun : $(bun --version)"
9594 echo ""
9695 echo "Registry configuration:"
9796 echo " registry: $(npm config get registry)"
You can’t perform that action at this time.
0 commit comments