55 build-and-upload-artifacts :
66 runs-on : ubuntu-latest
77 steps :
8- - uses : actions/checkout@v2
8+ - uses : actions/checkout@v4
99 - uses : actions/setup-node@v3.1.1
1010 with :
11- node-version : ' 14.17.3 '
11+ node-version : ' 22.18.0 '
1212 - run : npm install -g "yarn@1.22.5"
1313 shell : bash
1414 - uses : nick-fields/retry@v2
@@ -29,38 +29,55 @@ jobs:
2929 strategy :
3030 matrix :
3131 os : [ubuntu-latest]
32- node-version : [12.x, 14 .x]
32+ node-version : [22 .x]
3333 steps :
34- - uses : actions/checkout@v2
34+ - uses : actions/checkout@v4
3535 - name : Use Node.js ${{ matrix.node-version }}
3636 uses : actions/setup-node@v1
3737 with :
3838 node-version : ${{ matrix.node-version }}
39- - run : yarn install
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
4045 - run : yarn test
4146
4247 run-depcheck :
4348 runs-on : ubuntu-latest
4449 steps :
45- - uses : actions/checkout@v2
46- - name : Use Node.js 14 .x
50+ - uses : actions/checkout@v4
51+ - name : Use Node.js 22 .x
4752 uses : actions/setup-node@v1
4853 with :
49- node-version : 14.x
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
5061 - run : yarn depcheck
5162
5263 run-pre-commits :
5364 runs-on : ubuntu-latest
5465 steps :
55- - uses : actions/checkout@v2
66+ - uses : actions/checkout@v4
5667 with :
5768 fetch-depth : 100 # need the history to do a changed files check below (source, origin)
5869 - uses : actions/setup-python@v2
59- - name : Use Node.js 14 .x
70+ - name : Use Node.js 22 .x
6071 uses : actions/setup-node@v1
6172 with :
62- node-version : 14.x
63- - uses : pre-commit/action@v2.0.2
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
80+ - uses : pre-commit/action@v3.0.0
6481 with :
6582 extra_args : --source ${{ github.event.pull_request.base.sha || 'HEAD~1' }} --origin ${{ github.event.pull_request.head.sha || 'HEAD' }}
6683
7693 uses : actions/checkout@v2
7794 - uses : actions/setup-node@v2
7895 with :
79- node-version : ' 14 .x'
96+ node-version : ' 22 .x'
8097 - name : Configure NPM authentication
8198 run : |
8299 yarn config set npmAlwaysAuth true
96113 uses : actions/checkout@v2
97114 - uses : actions/setup-node@v2
98115 with :
99- node-version : ' 14 .x'
116+ node-version : ' 22 .x'
100117 - name : Configure Github Packages authentication
101118 run : |
102119 yarn config set npmAlwaysAuth true
0 commit comments