File tree Expand file tree Collapse file tree 1 file changed +23
-24
lines changed Expand file tree Collapse file tree 1 file changed +23
-24
lines changed Original file line number Diff line number Diff line change 4
4
name : Testing
5
5
6
6
on :
7
- push :
8
- branches : [ "master" ]
9
- pull_request :
10
- branches : [ "master" ]
7
+ push :
8
+ branches : ["master"]
9
+ pull_request :
10
+ branches : ["master"]
11
11
12
12
jobs :
13
- build :
13
+ build :
14
+ runs-on : ubuntu-latest
14
15
15
- runs-on : ubuntu-latest
16
+ strategy :
17
+ matrix :
18
+ node-version : [16.x, 18.x, 20.x, 22.x]
16
19
17
- strategy :
18
- matrix :
19
- node-version : [16.x, 18.x, 20.x, 22.x]
20
-
21
- steps :
22
- - uses : actions/checkout@v3
23
- - name : Use Node.js ${{ matrix.node-version }}
24
- uses : actions/setup-node@v3
25
- with :
26
- node-version : ${{ matrix.node-version }}
27
- cache : ' npm'
28
- - run : npm ci
29
- - run : npm run build --if-present
30
- - run : npm run lint --if-present
31
- - run : npm test
32
- - run : npm run e2e --if-present
33
- env :
34
- CI : true
20
+ steps :
21
+ - uses : actions/checkout@v3
22
+ - name : Use Node.js ${{ matrix.node-version }}
23
+ uses : actions/setup-node@v3
24
+ with :
25
+ node-version : ${{ matrix.node-version }}
26
+ cache : " npm"
27
+ - run : npm ci
28
+ - run : npm run build --if-present
29
+ - run : npm run lint --if-present
30
+ - run : npm test
31
+ - run : npm run e2e --if-present
32
+ env :
33
+ CI : true
You can’t perform that action at this time.
0 commit comments