2929 - name : Install dependencies
3030 run : npm ci
3131 - name : Check formatting of affected files
32- run : npx nx format:check
32+ run : npm run ci:nx -- format:check
3333
3434 lint :
3535 runs-on : ubuntu-latest
4949 - name : Install dependencies
5050 run : npm ci
5151 - name : Lint affected projects
52- run : npx nx affected -t lint --parallel=3
52+ run : npm run ci:nx -- affected -t lint --parallel=3
5353
5454 unit-test :
5555 strategy :
7373 - name : Install dependencies
7474 run : npm ci
7575 - name : Unit test affected projects
76- run : npx nx affected -t unit-test --parallel=3
76+ run : npm run ci:nx -- affected -t unit-test --parallel=3
7777
7878 integration-test :
7979 strategy :
9797 - name : Install dependencies
9898 run : npm ci
9999 - name : Integration test affected projects
100- run : npx nx affected -t int-test --parallel=3
100+ run : npm run ci:nx -- affected -t int-test --parallel=3
101101
102102 e2e :
103103 strategy :
@@ -121,7 +121,7 @@ jobs:
121121 - name : Install dependencies
122122 run : npm ci
123123 - name : E2E test affected projects
124- run : npx nx affected -t e2e-test --parallel=1
124+ run : npm run ci:nx -- affected -t e2e-test --parallel=1
125125
126126 build :
127127 runs-on : ubuntu-latest
@@ -141,6 +141,6 @@ jobs:
141141 - name : Install dependencies
142142 run : npm ci
143143 - name : Build all projects # affected is not used to be able to test-releae packages
144- run : npx nx run-many --target=build --parallel=3
144+ run : npm run ci:nx -- run-many --target=build --parallel=3
145145 - name : Test-release packages
146146 run : npx pkg-pr-new publish "packages/**/dist"
0 commit comments