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
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 :
@@ -42,25 +42,25 @@ jobs:
4242 run-depcheck :
4343 runs-on : ubuntu-latest
4444 steps :
45- - uses : actions/checkout@v2
46- - name : Use Node.js 14 .x
45+ - uses : actions/checkout@v4
46+ - name : Use Node.js 22 .x
4747 uses : actions/setup-node@v1
4848 with :
49- node-version : 14 .x
49+ node-version : 22 .x
5050 - run : yarn depcheck
5151
5252 run-pre-commits :
5353 runs-on : ubuntu-latest
5454 steps :
55- - uses : actions/checkout@v2
55+ - uses : actions/checkout@v4
5656 with :
5757 fetch-depth : 100 # need the history to do a changed files check below (source, origin)
5858 - uses : actions/setup-python@v2
59- - name : Use Node.js 14 .x
59+ - name : Use Node.js 22 .x
6060 uses : actions/setup-node@v1
6161 with :
62- node-version : 14 .x
63- - uses : pre-commit/action@v2 .0.2
62+ node-version : 22 .x
63+ - uses : pre-commit/action@v3 .0.0
6464 with :
6565 extra_args : --source ${{ github.event.pull_request.base.sha || 'HEAD~1' }} --origin ${{ github.event.pull_request.head.sha || 'HEAD' }}
6666
7676 uses : actions/checkout@v2
7777 - uses : actions/setup-node@v2
7878 with :
79- node-version : ' 14 .x'
79+ node-version : ' 22 .x'
8080 - name : Configure NPM authentication
8181 run : |
8282 yarn config set npmAlwaysAuth true
9696 uses : actions/checkout@v2
9797 - uses : actions/setup-node@v2
9898 with :
99- node-version : ' 14 .x'
99+ node-version : ' 22 .x'
100100 - name : Configure Github Packages authentication
101101 run : |
102102 yarn config set npmAlwaysAuth true
0 commit comments