@@ -67,22 +67,12 @@ jobs:
67
67
- name : Decompress npm package
68
68
run : tar -xzf package.tar.gz
69
69
70
- - name : Fetch dependencies from cache
71
- id : cache-node-modules
72
- uses : actions/cache@v3
73
- with :
74
- path : " **/node_modules"
75
- key : yarn-build-linux-amd64-${{ hashFiles('**/yarn.lock') }}
76
- restore-keys : |
77
- yarn-build-linux-amd64-
78
-
79
70
# NOTE: && here is deliberate - GitHub puts each line in its own `.sh`
80
71
# file when running inside a docker container.
81
72
- name : Build standalone release
82
73
run : source scl_source enable devtoolset-9 && npm run release:standalone
83
74
84
75
- name : Install test dependencies
85
- if : steps.cache-node-modules.outputs.cache-hit != 'true'
86
76
run : SKIP_SUBMODULE_DEPS=1 yarn --frozen-lockfile
87
77
88
78
- name : Run integration tests on standalone release
@@ -129,11 +119,11 @@ jobs:
129
119
# but this means we don't need to maintain a self-hosted runner!
130
120
131
121
# NOTE@jsjoeio:
132
- # We used to use 16 .04 until GitHub deprecated it on September 20, 2021
133
- # See here: https://github.com/actions/virtual-environments/pull/3862/files
122
+ # We used to use 18 .04 until GitHub browned it out on December 15, 2022
123
+ # See here: https://github.com/actions/runner-images/issues/6002
134
124
package-linux-cross :
135
125
name : Linux cross-compile builds
136
- runs-on : ubuntu-18 .04
126
+ runs-on : ubuntu-20 .04
137
127
timeout-minutes : 15
138
128
needs : npm-version
139
129
strategy :
@@ -237,20 +227,10 @@ jobs:
237
227
- name : Decompress npm package
238
228
run : tar -xzf package.tar.gz
239
229
240
- - name : Fetch dependencies from cache
241
- id : cache-node-modules
242
- uses : actions/cache@v3
243
- with :
244
- path : " **/node_modules"
245
- key : yarn-build-macos-${{ hashFiles('**/yarn.lock') }}
246
- restore-keys : |
247
- yarn-build-macos-
248
-
249
230
- name : Build standalone release
250
231
run : npm run release:standalone
251
232
252
233
- name : Install test dependencies
253
- if : steps.cache-node-modules.outputs.cache-hit != 'true'
254
234
run : SKIP_SUBMODULE_DEPS=1 yarn install
255
235
256
236
- name : Run native module tests on standalone release
0 commit comments