2929 - name : Install dependencies
3030 run : npm ci
3131 - name : Check formatting of affected files
32- env :
33- NODE_OPTIONS : --import tsx
34- TSX_TSCONFIG_PATH : ${{ github.workspace }}/tsconfig.base.json
35- run : NX_DAEMON=false npx nx format:check --skipNxCache
32+ run : NX_DAEMON=false npm run tsx-nx -- format:check --skipNxCache
3633
3734 lint :
3835 runs-on : ubuntu-latest
5249 - name : Install dependencies
5350 run : npm ci
5451 - name : Lint affected projects
55- env :
56- NODE_OPTIONS : --import tsx
57- TSX_TSCONFIG_PATH : ${{ github.workspace }}/tsconfig.base.json
58- run : npx nx affected -t lint --parallel=3
52+ run : npm run tsx-nx -- affected -t lint --parallel=3
5953
6054 unit-test :
6155 strategy :
7973 - name : Install dependencies
8074 run : npm ci
8175 - name : Unit test affected projects
82- env :
83- NODE_OPTIONS : --import tsx
84- TSX_TSCONFIG_PATH : ${{ github.workspace }}/tsconfig.base.json
85- run : npx nx affected -t unit-test --parallel=3
76+ run : npm run tsx-nx -- affected -t unit-test --parallel=3
8677
8778 integration-test :
8879 strategy :
@@ -106,10 +97,7 @@ jobs:
10697 - name : Install dependencies
10798 run : npm ci
10899 - name : Integration test affected projects
109- env :
110- NODE_OPTIONS : --import tsx
111- TSX_TSCONFIG_PATH : ${{ github.workspace }}/tsconfig.base.json
112- run : npx nx affected -t int-test --parallel=3
100+ run : npm run tsx-nx -- affected -t int-test --parallel=3
113101
114102 e2e :
115103 strategy :
@@ -133,10 +121,7 @@ jobs:
133121 - name : Install dependencies
134122 run : npm ci
135123 - name : E2E test affected projects
136- env :
137- NODE_OPTIONS : --import tsx
138- TSX_TSCONFIG_PATH : ${{ github.workspace }}/tsconfig.base.json
139- run : npx nx affected -t e2e-test --parallel=1
124+ run : npm run tsx-nx -- affected -t e2e-test --parallel=1
140125
141126 build :
142127 runs-on : ubuntu-latest
@@ -156,9 +141,6 @@ jobs:
156141 - name : Install dependencies
157142 run : npm ci
158143 - name : Build all projects # affected is not used to be able to test-releae packages
159- env :
160- NODE_OPTIONS : --import tsx
161- TSX_TSCONFIG_PATH : ${{ github.workspace }}/tsconfig.base.json
162- run : npx nx run-many --target=build --parallel=3
144+ run : npm run tsx-nx -- run-many --target=build --parallel=3
163145 - name : Test-release packages
164146 run : npx pkg-pr-new publish "packages/**/dist"
0 commit comments