Skip to content

Commit 99ed0d1

Browse files
committed
chore: remove affected runs in CI
1 parent feb4e4c commit 99ed0d1

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ jobs:
3232
with:
3333
main-branch-name: 'master'
3434

35-
- name: Run build on affected projects
36-
run: npx nx affected --target=build --parallel=3
35+
- name: Run build on projects
36+
run: npx nx run-many --target=build --parallel=3
3737
continue-on-error: false
3838

39-
- name: Run lint on affected projects
40-
run: npx nx affected --target=lint --parallel=3
39+
- name: Run lint on projects
40+
run: npx nx run-many --target=lint --parallel=3
4141
continue-on-error: false
4242

4343
# - name: Run typecheck on affected projects
@@ -47,6 +47,6 @@ jobs:
4747
- name: Clear Jest cache
4848
run: npx jest --clearCache
4949

50-
- name: Run tests on affected projects
51-
run: npx nx affected --target=test --parallel=3 --coverage
50+
- name: Run tests projects
51+
run: npx nx run-many --target=test --parallel=3 --coverage
5252
continue-on-error: false

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
3939
with:
4040
main-branch-name: 'master'
4141

42-
- name: Build affected packages
43-
run: npx nx affected --target=build --parallel=3
42+
- name: Build packages
43+
run: npx nx run-many --target=build --parallel=3
4444

4545
- name: 🚀 Run Nx Release
4646
run: |

packages/common/project.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"command": "npm run build",
2222
"cwd": "packages/common"
2323
},
24+
"dependsOn": ["@data-driven-forms/react-form-renderer:build"],
2425
"cache": true
2526
},
2627
"build:cjs": {

0 commit comments

Comments
 (0)