ReviewOS

also looking at this

stacks/bun-queue

feat: new release script using pantry

#55
Closed glennmichael123 wants to merge feat/pantry-release into main
1 file +13 -6

Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.

.github/workflows/release.ymlmodified+13-6
Changes to .github/workflows/release.yml
@@ -6,17 +6,24 @@ on:
66 - 'v*'
77
88jobs:
9 npm:
10 name: npm
9 release:
10 name: release
1111 runs-on: ubuntu-latest
1212
1313 steps:
14 - uses: actions/checkout@v6
14 - uses: actions/checkout@v4
1515 with:
1616 fetch-depth: 0
1717
18 - name: Install Bun
18 - name: Setup Bun
1919 uses: oven-sh/setup-bun@v2
20 with:
21 bun-version: latest
22
23 - name: Setup pantry
24 uses: stacksjs/pantry@v0.7
25 with:
26 setup-only: 'true'
2027
2128 - name: Use cached node_modules
2229 uses: actions/cache@v4
@@ -30,7 +37,7 @@ jobs:
3037 run: bun install
3138
3239 - name: Publish to npm
33 run: bun publish --access public
40 run: pantry publish --access public
3441 env:
3542 BUN_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
3643
@@ -40,7 +47,7 @@ jobs:
4047 GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
4148
4249 - name: Attach Binaries
43 uses: softprops/action-gh-release@v2
50 uses: stacksjs/action-releaser@v1.2.7
4451 with:
4552 files: |
4653 bin/bin-name-linux-x64