@@ -105,27 +105,46 @@ jobs:
105105 permissions :
106106 id-token : write
107107 attestations : write
108+ strategy :
109+ matrix :
110+ rust-version :
111+ - 1.80.0
108112 steps :
109113 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
110114 with :
111115 fetch-depth : 0
116+ submodules : recursive
117+
118+ - name : Get StarlingMonkey Commit
119+ id : starlingmonkey-commit
120+ run : echo "STARLINGMONKEY_HASH=$(git submodule status | head -c9 | tail -c8)" >> "$GITHUB_OUTPUT"
121+
122+ - name : Install Rust Toolchain
123+ run : |
124+ rustup toolchain install ${{ matrix.rust-version }}
125+ rustup target add wasm32-wasip1 --toolchain ${{ matrix.rust-version }}
126+ rustup target add wasm32-wasip1
112127
113128 # NOTE: we must use a node version new-enough to have --experimental-wasm-jspi
114129 - uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
115130 with :
116131 node-version : " >=22"
117132
118133 - name : Cache npm install
119- id : cache-node-modules
120134 uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
121135 with :
122136 key : node-modules-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('package.json') }}
123137 path : |
124138 node_modules
139+
125140 - name : Install NPM packages
126141 run : |
127142 npm install
128143
144+ - name : Perform release build
145+ run : |
146+ npm run build:release
147+
129148 - name : Create release package
130149 working-directory : ${{ needs.meta.outputs.project-dir }}
131150 run : |
@@ -138,7 +157,7 @@ jobs:
138157 - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
139158 with :
140159 if-no-files-found : error
141- name : ${{ needs.meta.outputs.project }}
160+ name : componentize-js
142161 path : |
143162 ${{ needs.meta.outputs.artifacts-glob }}
144163
@@ -168,6 +187,8 @@ jobs:
168187 needs :
169188 - meta
170189 - test-npm-release
190+ env :
191+ PREPACK_SKIP_BUILD : " true"
171192 steps :
172193 # NOTE: we need to checkout to pull npmrc
173194 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
0 commit comments