File tree 1 file changed +35
-0
lines changed
1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 13
13
name : repo
14
14
path : ${{ github.workspace }}
15
15
16
+ v16 :
17
+ runs-on : ubuntu-22.04
18
+ needs : checkout_code
19
+ container :
20
+ image : " node:16-buster"
21
+ steps :
22
+ - name : Install sudo
23
+ run : |
24
+ apt update
25
+ apt install -y sudo
26
+ # workaround for https://github.com/actions/runner/issues/2033
27
+ - name : ownership workaround
28
+ run : git config --global --add safe.directory '*'
29
+ - name : Get repository's content
30
+ uses : actions/download-artifact@v3
31
+ with :
32
+ name : repo
33
+ - uses : actions/cache@v3
34
+ with :
35
+ path : node_modules
36
+ key : v1-dependencies-${{ hashFiles('**/yarn.lock') }}
37
+ restore-keys : |
38
+ v1-dependencies-${{ hashFiles('**/yarn.lock') }}
39
+ v1-dependencies-
40
+ - name : Update yarn
41
+ run : |
42
+ node -v
43
+ yarn global add yarn@latest
44
+ - name : Install dependencies
45
+ run : yarn install --ignore-engines --frozen-lockfile
46
+ - name : Build packages
47
+ run : yarn build
48
+ - name : Test
49
+ run : yarn test-ci
50
+
16
51
v18 :
17
52
runs-on : ubuntu-22.04
18
53
needs : checkout_code
You can’t perform that action at this time.
0 commit comments