File tree Expand file tree Collapse file tree 3 files changed +22
-52
lines changed
Expand file tree Collapse file tree 3 files changed +22
-52
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 88 branches :
99 - master
1010
11+ permissions :
12+ contents : read
13+
1114jobs :
1215 build :
1316 name : Build
14- runs-on : ubuntu-20 .04
17+ runs-on : ubuntu-22 .04
1518
1619 steps :
1720 - name : Checkout
18- uses : actions/checkout@v2
21+ uses : actions/checkout@v4
1922
2023 - name : Docker build
2124 run : docker build . --tag arma-server-web-admin
Original file line number Diff line number Diff line change 88 branches :
99 - master
1010
11+ permissions :
12+ contents : read
13+
1114jobs :
1215 build :
1316 name : Build
@@ -16,33 +19,34 @@ jobs:
1619 strategy :
1720 matrix :
1821 node-version :
19- - 16.x
20- - 14.x
21- - 12.x
22- - 10.x
23- - 8.x
24- - 6.x
25- - 4.x
22+ - 24
23+ - 22
24+ - 20
25+ - 18
26+ - 16
27+ - 14
28+ - 12
29+ - 10
2630 os :
27- - ubuntu-20 .04
28- - windows-2019
31+ - ubuntu-22 .04
32+ - windows-2022
2933
3034 steps :
3135 - name : Checkout
32- uses : actions/checkout@v2
36+ uses : actions/checkout@v4
3337
3438 - name : Use Node.js ${{ matrix.node-version }}
35- uses : actions/setup-node@v1
39+ uses : actions/setup-node@v4
3640 with :
3741 node-version : ${{ matrix.node-version }}
38-
42+
3943 - name : Get npm cache directory
4044 id : npm-cache
4145 run : |
4246 echo "::set-output name=dir::$(npm config get cache)"
4347
4448 - name : Cache npm dependencies
45- uses : actions/cache@v2
49+ uses : actions/cache@v4
4650 with :
4751 path : ${{ steps.npm-cache.outputs.dir }}
4852 key : ${{ matrix.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package.json') }}
You can’t perform that action at this time.
0 commit comments