99 default : true
1010 required : false
1111
12- # Install @nrwl@next instead of the current one on the package.json
13- install-next-version :
14- type : boolean
15- default : false
16- required : false
17-
1812jobs :
1913 lint :
2014 runs-on : ubuntu-latest
@@ -24,17 +18,12 @@ jobs:
2418 fetch-depth : 0
2519 - uses : ./.github/actions/setup
2620
27- # Perform lint with @nrwl@next
28- - if : inputs.install-next-version == true
29- name : install @nrwl@next
30- run : npx update-by-scope -t next @nrwl
31-
3221 - name : Lint
3322 run : npx nx lint --outputFile=""
3423
3524 - if : inputs.reports == true
3625 name : Lint report
37- run : npx nx lint --format ./tools/sonarqube-linter-reporter.js
26+ run : npx nx lint --format= ./tools/sonarqube-linter-reporter.js
3827
3928 - if : inputs.reports == true
4029 name : Archive lint report results
5140 fetch-depth : 0
5241 - uses : ./.github/actions/setup
5342
54- # Perform build with @nrwl@next
55- - if : inputs.install-next-version == true
56- name : install @nrwl@next
57- run : npx update-by-scope -t next @nrwl
58-
5943 - run : npx nx build
6044
6145 - name : Archive build result
7862 with :
7963 node-version : ${{ matrix.node-version }}
8064
81- # Perform unit test with @nrwl@next
82- - if : inputs.install-next-version == true
83- name : install @nrwl@next
84- run : npx update-by-scope -t next @nrwl
85-
8665 - run : npx nx test --code-coverage
8766
8867 - if : matrix.node-version == 18 && inputs.reports == true
0 commit comments