ReviewOS

also looking at this

stacks/bun-query-builder

chore(deps): update all non-major dependencies

#921
Closed chris wants to merge buddy-bot/update-non-major-updates-1769076806715 into main
3 files +14 -14

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+40-28
Changes to .github/workflows/release.yml
@@ -4,49 +4,61 @@ on:
44 push:
55 tags:
66 - 'v*'
7 workflow_dispatch:
78
89jobs:
910 npm:
10 name: npm
1111 runs-on: ubuntu-latest
12 permissions:
13 contents: write
14 id-token: write
1215
1316 steps:
14 - uses: actions/checkout@v6.0.1
17 - name: Checkout
18 uses: actions/checkout@v4
1519 with:
1620 fetch-depth: 0
1721
18 - name: Install Bun
19 uses: oven-sh/setup-bun@v2.1.2
20
21 - name: Use cached node_modules
22 uses: actions/cache@v5.0.2
22 - name: Setup Node.js
23 uses: actions/setup-node@v4
2324 with:
24 path: node_modules
25 key: node-modules-${{ hashFiles('**/bun.lock') }}
26 restore-keys: |
27 node-modules-
25 node-version: '24'
26 registry-url: 'https://registry.npmjs.org'
2827
29 - name: Install Dependencies
30 run: bun install
28 - name: Setup Zig
29 run: |
30 curl -L https://ziglang.org/builds/zig-x86_64-linux-0.16.0-dev.1859+212968c57.tar.xz -o zig.tar.xz
31 tar -xf zig.tar.xz
32 mv zig-x86_64-linux-0.16.0-dev.1859+212968c57 zig
33 echo "$PWD/zig" >> $GITHUB_PATH
3134
32 - name: Publish to npm
33 run: ./scripts/publish.sh
34 env:
35 BUN_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
35 - name: Verify Zig
36 run: zig version
37
38 - name: Build pantry from source
39 run: |
40 git clone --depth 1 https://github.com/home-lang/pantry.git ../pantry
41 cd ../pantry/packages/zig
42 mkdir -p pantry
43 cd pantry
44 git clone --depth 1 https://github.com/zig-utils/zig-cli.git
45 git clone --depth 1 https://github.com/zig-utils/zig-config.git
46 git clone --depth 1 https://github.com/zig-utils/zig-test-framework.git
47
48 - name: Compile pantry
49 run: |
50 cd ../pantry/packages/zig
51 zig build
52 echo "$PWD/zig-out/bin" >> $GITHUB_PATH
3653
37 - name: Create GitHub release
38 run: bunx changelogithub
54 - name: Publish
55 run: pantry npm:publish --access public
3956 env:
40 GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
57 NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4158
42 - name: Attach Binaries
43 uses: stacksjs/action-releaser@v1.2.6
59 - name: Create GitHub Release
60 uses: softprops/action-gh-release@v2.5.0
4461 with:
45 files: |
46 packages/bun-query-builder/bin/qbx-linux-x64.zip
47 packages/bun-query-builder/bin/qbx-linux-arm64.zip
48 packages/bun-query-builder/bin/qbx-windows-x64.zip
49 packages/bun-query-builder/bin/qbx-darwin-x64.zip
50 packages/bun-query-builder/bin/qbx-darwin-arm64.zip
62 generate_release_notes: true
5163 env:
5264 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}