File tree Expand file tree Collapse file tree 2 files changed +29
-32
lines changed Expand file tree Collapse file tree 2 files changed +29
-32
lines changed Original file line number Diff line number Diff line change 22
22
23
23
- uses : actions/setup-node@v3
24
24
with :
25
- node-version : 16
25
+ node-version : 18
26
26
27
27
- uses : pnpm/action-setup@v2
28
28
with :
Original file line number Diff line number Diff line change 1
1
name : Test
2
2
on :
3
- pull_request :
4
- types : [opened, synchronize]
5
- push :
6
- branches : [main]
3
+ pull_request :
4
+ types : [opened, synchronize]
5
+ push :
6
+ branches : [main]
7
7
8
8
jobs :
9
- test :
10
- permissions :
11
- contents : read
12
- packages : read
9
+ test :
10
+ permissions :
11
+ contents : read
12
+ packages : read
13
13
14
- runs-on : ubuntu-20.04
15
- steps :
16
- - uses : actions/checkout@v3
17
- with :
18
- fetch-depth : 0
14
+ runs-on : ubuntu-20.04
15
+ steps :
16
+ - uses : actions/checkout@v3
17
+ with :
18
+ fetch-depth : 0
19
19
20
- - uses : actions/setup-node@v3
21
- with :
22
- node-version : 16
20
+ - uses : actions/setup-node@v3
21
+ with :
22
+ node-version : 18
23
+ - uses : pnpm/action-setup@v2
24
+ with :
25
+ run_install : |
26
+ - recursive: true
27
+ args: [--frozen-lockfile, --strict-peer-dependencies]
23
28
24
- - uses : pnpm/action-setup@v2
25
- with :
26
- run_install : |
27
- - recursive: true
28
- args: [--frozen-lockfile, --strict-peer-dependencies]
29
- env :
30
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
29
+ - run : pnpm run test:ci
31
30
32
- - run : pnpm run test:ci
33
-
34
- - name : notify sonarqube
35
- if : ${{ github.event_name == 'push' }}
36
- uses : sonarsource/sonarqube-scan-action@master
37
- env :
38
- SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
39
- SONAR_HOST_URL : ${{ secrets.SONAR_HOST_URL }}
31
+ - name : notify sonarqube
32
+ if : ${{ github.event_name == 'push' }}
33
+ uses : sonarsource/sonarqube-scan-action@master
34
+ env :
35
+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
36
+ SONAR_HOST_URL : ${{ secrets.SONAR_HOST_URL }}
You can’t perform that action at this time.
0 commit comments