99env :
1010 NX_NON_NATIVE_HASHER : true
1111 NX_CLOUD_ACCESS_TOKEN : ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
12- NODE_OPTIONS : --import tsx
13- TSX_TSCONFIG_PATH : tsconfig.base.json
1412
1513jobs :
1614 format :
3129 - name : Install dependencies
3230 run : npm ci
3331 - name : Check formatting of affected files
32+ env :
33+ NODE_OPTIONS : --import tsx
34+ TSX_TSCONFIG_PATH : tsconfig.base.json
3435 run : npx nx format:check
3536
3637 lint :
5152 - name : Install dependencies
5253 run : npm ci
5354 - name : Lint affected projects
55+ env :
56+ NODE_OPTIONS : --import tsx
57+ TSX_TSCONFIG_PATH : tsconfig.base.json
5458 run : npx nx affected -t lint --parallel=3
5559
5660 unit-test :
7579 - name : Install dependencies
7680 run : npm ci
7781 - name : Unit test affected projects
82+ env :
83+ NODE_OPTIONS : --import tsx
84+ TSX_TSCONFIG_PATH : tsconfig.base.json
7885 run : npx nx affected -t unit-test --parallel=3
7986
8087 integration-test :
99106 - name : Install dependencies
100107 run : npm ci
101108 - name : Integration test affected projects
109+ env :
110+ NODE_OPTIONS : --import tsx
111+ TSX_TSCONFIG_PATH : tsconfig.base.json
102112 run : npx nx affected -t int-test --parallel=3
103113
104114 e2e :
@@ -123,6 +133,9 @@ jobs:
123133 - name : Install dependencies
124134 run : npm ci
125135 - name : E2E test affected projects
136+ env :
137+ NODE_OPTIONS : --import tsx
138+ TSX_TSCONFIG_PATH : tsconfig.base.json
126139 run : npx nx affected -t e2e-test --parallel=1
127140
128141 build :
@@ -143,6 +156,9 @@ jobs:
143156 - name : Install dependencies
144157 run : npm ci
145158 - 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 : tsconfig.base.json
146162 run : npx nx run-many --target=build --parallel=3
147163 - name : Test-release packages
148164 run : npx pkg-pr-new publish "packages/**/dist"
0 commit comments