File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131 target: ${{ matrix.target }}
3232 runner: ${{ matrix.runner }}
3333 filename: ${{ matrix.filename }}
34+
35+ assemble:
36+ name: Assemble native packages
37+ needs: build
38+ runs-on: ubuntu-latest
39+ steps:
40+ - name: Checkout
41+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
42+
43+ - name: Setup Node.js
44+ uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
45+ with:
46+ node-version: 24.18.0
47+ package-manager-cache: false
48+
49+ - name: Install Pnpm
50+ uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
51+ with:
52+ run_install: true
53+
54+ - name: Download native bindings
55+ uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
56+ with:
57+ pattern: native-*
58+ path: artifacts
59+
60+ - name: Assemble native packages
61+ run: |
62+ pnpm --dir packages/rstack package:native
63+ pnpm --dir packages/rstack exec napi artifacts --config-path napi.json --output-dir ../../artifacts
64+
65+ - name: Check native packages
66+ run: pnpm --dir packages/rstack exec napi pre-publish --config-path napi.json --dry-run --no-gh-release
67+
68+ - name: Upload native packages
69+ uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
70+ with:
71+ name: native-packages
72+ path: packages/rstack/npm
73+ if-no-files-found: error
74+ retention-days: 1
You can’t perform that action at this time.
0 commit comments