99 # 'Install yarn v2 dependencies'
1010 - uses : actions/setup-node@v3.1.1
1111 with :
12- node-version : ' 14.17.3 '
12+ node-version : ' 22.19.0 '
1313 - run : npm install -g "yarn@1.22.5"
1414 shell : bash
1515 - uses : nick-fields/retry@v2
@@ -29,24 +29,36 @@ jobs:
2929 strategy :
3030 matrix :
3131 os : [ubuntu-latest]
32- node-version : [12.x, 14 .x]
32+ node-version : [22 .x]
3333 steps :
3434 - uses : actions/checkout@v2
3535 - name : Use Node.js ${{ matrix.node-version }}
3636 uses : actions/setup-node@v1
3737 with :
3838 node-version : ${{ matrix.node-version }}
39+ - uses : nick-fields/retry@v2
40+ with :
41+ timeout_minutes : 6
42+ max_attempts : 3
43+ retry_on : error
44+ command : yarn install --immutable
3945 - run : yarn && yarn test
4046
4147 run-depcheck :
4248 runs-on : ubuntu-latest
4349 steps :
4450 - uses : actions/checkout@v2
45- - name : Use Node.js 14 .x
51+ - name : Use Node.js 22 .x
4652 uses : actions/setup-node@v1
4753 with :
48- node-version : 14.x
49- - run : yarn pnpify depcheck
54+ node-version : 22.x
55+ - uses : nick-fields/retry@v2
56+ with :
57+ timeout_minutes : 6
58+ max_attempts : 3
59+ retry_on : error
60+ command : yarn install --immutable
61+ - run : yarn depcheck
5062
5163 run-pre-commits :
5264 runs-on : ubuntu-latest
@@ -55,10 +67,16 @@ jobs:
5567 with :
5668 fetch-depth : 100 # need the history to do a changed files check below (source, origin)
5769 - uses : actions/setup-python@v2
58- - name : Use Node.js 14 .x
70+ - name : Use Node.js 22 .x
5971 uses : actions/setup-node@v1
6072 with :
61- node-version : 14.x
73+ node-version : 22.x
74+ - uses : nick-fields/retry@v2
75+ with :
76+ timeout_minutes : 6
77+ max_attempts : 3
78+ retry_on : error
79+ command : yarn install --immutable
6280 - uses : pre-commit/action@v3.0.1
6381 with :
6482 extra_args : --source ${{ github.event.pull_request.base.sha || 'HEAD~1' }} --origin ${{ github.event.pull_request.head.sha || 'HEAD' }}
7694 uses : actions/checkout@v2
7795 - uses : actions/setup-node@v2
7896 with :
79- node-version : ' 14.x'
97+ node-version : ' 22.x'
98+ - uses : nick-fields/retry@v2
99+ with :
100+ timeout_minutes : 6
101+ max_attempts : 3
102+ retry_on : error
103+ command : yarn install --immutable
80104 - name : Configure NPM authentication
81105 run : |
82106 yarn config set npmAlwaysAuth true
@@ -97,7 +121,13 @@ jobs:
97121 uses : actions/checkout@v2
98122 - uses : actions/setup-node@v2
99123 with :
100- node-version : ' 14.x'
124+ node-version : ' 22.x'
125+ - uses : nick-fields/retry@v2
126+ with :
127+ timeout_minutes : 6
128+ max_attempts : 3
129+ retry_on : error
130+ command : yarn install --immutable
101131 - name : Configure Github Packages authentication
102132 run : |
103133 yarn config set npmAlwaysAuth true
0 commit comments