@@ -127,7 +127,7 @@ jobs:
127
127
run : yarn lint:ts
128
128
129
129
build :
130
- name : Build
130
+ name : Build code-server
131
131
runs-on : ubuntu-latest
132
132
timeout-minutes : 30
133
133
env :
@@ -223,6 +223,7 @@ jobs:
223
223
path : ./package.tar.gz
224
224
225
225
npm :
226
+ name : Publish npm package
226
227
# the npm-package gets uploaded as an artifact in Build
227
228
# so we need that to complete before this runs
228
229
needs : build
@@ -275,15 +276,13 @@ jobs:
275
276
```
276
277
277
278
test-e2e :
278
- name : End -to-end tests
279
+ name : Run end -to-end tests
279
280
needs : build
280
281
runs-on : ubuntu-latest
281
282
timeout-minutes : 15
282
283
steps :
283
284
- name : Checkout repo
284
285
uses : actions/checkout@v3
285
- with :
286
- submodules : true
287
286
288
287
- name : Install Node.js v16
289
288
uses : actions/setup-node@v3
@@ -295,9 +294,9 @@ jobs:
295
294
uses : actions/cache@v3
296
295
with :
297
296
path : " **/node_modules"
298
- key : 1- yarn-build-${{ hashFiles('**/yarn.lock') }}
297
+ key : yarn-build-${{ hashFiles('**/yarn.lock') }}
299
298
restore-keys : |
300
- 1- yarn-build-
299
+ yarn-build-
301
300
302
301
- name : Download npm package
303
302
uses : actions/download-artifact@v3
@@ -312,15 +311,17 @@ jobs:
312
311
313
312
- name : Install dependencies
314
313
if : steps.cache-node-modules.outputs.cache-hit != 'true'
315
- run : yarn --frozen-lockfile
314
+ run : SKIP_SUBMODULE_DEPS=1 yarn --frozen-lockfile
316
315
317
316
- name : Install Playwright OS dependencies
318
317
run : |
319
318
./test/node_modules/.bin/playwright install-deps
320
319
./test/node_modules/.bin/playwright install
321
320
322
321
- name : Copy node binary to release
323
- run : ln -s $(which node) ./release/lib/node
322
+ run : |
323
+ ln -s $(which node) ./release/lib/node
324
+ ln -s $(which node) ./release/node
324
325
325
326
- name : Run end-to-end tests
326
327
run : CODE_SERVER_TEST_ENTRY=./release yarn test:e2e --global-timeout 840000
@@ -336,15 +337,13 @@ jobs:
336
337
run : rm -rf ./release ./test/test-results
337
338
338
339
test-e2e-proxy :
339
- name : End -to-end tests behind proxy
340
+ name : Run end -to-end tests behind proxy
340
341
needs : build
341
342
runs-on : ubuntu-latest
342
343
timeout-minutes : 25
343
344
steps :
344
345
- name : Checkout repo
345
346
uses : actions/checkout@v3
346
- with :
347
- submodules : true
348
347
349
348
- name : Install Node.js v16
350
349
uses : actions/setup-node@v3
@@ -356,9 +355,9 @@ jobs:
356
355
uses : actions/cache@v3
357
356
with :
358
357
path : " **/node_modules"
359
- key : 1- yarn-build-${{ hashFiles('**/yarn.lock') }}
358
+ key : yarn-build-${{ hashFiles('**/yarn.lock') }}
360
359
restore-keys : |
361
- 1- yarn-build-
360
+ yarn-build-
362
361
363
362
- name : Download npm package
364
363
uses : actions/download-artifact@v3
@@ -373,7 +372,7 @@ jobs:
373
372
374
373
- name : Install dependencies
375
374
if : steps.cache-node-modules.outputs.cache-hit != 'true'
376
- run : yarn --frozen-lockfile
375
+ run : SKIP_SUBMODULE_DEPS=1 yarn --frozen-lockfile
377
376
378
377
- name : Install Playwright OS dependencies
379
378
run : |
0 commit comments