File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -155,13 +155,21 @@ jobs:
155
155
docker tag ${{ matrix.docker }} builder
156
156
docker run --volume ${{ github.workspace }}:/app --workdir /app --privileged builder sh -c "${{ matrix.docker_cmd }}"
157
157
158
- - name : Upload artifacts
158
+ - name : Upload build
159
159
uses : actions/upload-artifact@v4
160
160
with :
161
161
path : ./build
162
162
name : build-${{ strategy.job-index }}
163
163
overwrite : true
164
164
165
+ - name : Upload lib
166
+ if : matrix.os == 'ubuntu-20.04'
167
+ uses : actions/upload-artifact@v4
168
+ with :
169
+ path : ./lib
170
+ name : lib
171
+ overwrite : true
172
+
165
173
- name : Lint
166
174
if : " ${{ contains(matrix.os, 'ubuntu') && !matrix.docker }}"
167
175
run : pnpm run lint-test
@@ -214,12 +222,18 @@ jobs:
214
222
- 10
215
223
- 22
216
224
steps :
217
- - name : Place Builds
225
+ - name : Place build
218
226
uses : actions/download-artifact@v4
219
227
with :
220
228
name : build
221
229
path : ./build
222
230
231
+ - name : Place lib
232
+ uses : actions/download-artifact@v4
233
+ with :
234
+ name : lib
235
+ path : ./lib
236
+
223
237
- name : Install Node
224
238
uses : actions/setup-node@v4
225
239
with :
Original file line number Diff line number Diff line change 86
86
],
87
87
"scripts" : {
88
88
"install" : " node ./script/install.js" ,
89
- "prepare" : " pnpm run build.js" ,
90
89
"clean" : " shx rm -rf ./build ./prebuilds && run-p clean.lib clean.temp" ,
91
90
"clean.lib" : " shx rm -rf ./lib/" ,
92
91
"clean.release" : " shx rm -rf ./build/Release" ,
113
112
"lint" : " run-p format lint.eslint format" ,
114
113
"lint-test" : " run-s lint-test.eslint" ,
115
114
"bench" : " node --expose-gc test/bench" ,
116
- "prepublishOnly" : " pnpm run build.js" ,
117
115
"bump" : " pnpx npm-check-updates -u -x typescript,eslint,chai && pnpx typesync && pnpm update"
118
116
},
119
117
"cmake-ts" : {
You can’t perform that action at this time.
0 commit comments