File tree 2 files changed +10
-11
lines changed
2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,13 @@ jobs:
11
11
build :
12
12
runs-on : ubuntu-latest
13
13
steps :
14
- - uses : actions/checkout@v1
15
- - uses : actions/setup-node@v1
14
+ - uses : actions/checkout@v4
15
+ - uses : actions/setup-node@v4
16
16
with :
17
- node-version : 14
17
+ node-version : 20
18
18
registry-url : https://registry.npmjs.org/
19
19
- run : yarn
20
20
- run : yarn publish --access public
21
21
working-directory : packages/action/
22
22
env :
23
- NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
23
+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
Original file line number Diff line number Diff line change @@ -10,14 +10,13 @@ jobs:
10
10
name : Publish coverage report
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v2
13
+ - uses : actions/checkout@v4
14
14
- name : Setup sonarqube
15
- uses : warchant/setup-sonar-scanner@v3
15
+ uses : warchant/setup-sonar-scanner@v8
16
16
- name : coverage report
17
- uses : actions/setup-node@v1
18
- with :
19
- # node 12 support is deprecated in sonar
20
- node-version : 14
17
+ uses : actions/setup-node@v4
18
+ with :
19
+ node-version : 20
21
20
- run : npm ci
22
21
- run : npm run test:report
23
22
- run : sonar-scanner
32
31
-Dsonar.javascript.lcov.reportPaths=coverage/lcov.info
33
32
-Dsonar.exclusions=packages/action/test/**,packages/action/webpage/**
34
33
env :
35
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments