Skip to content

Commit 3ff7aaf

Browse files
committed
chore: move list job after env is set
1 parent 0fae168 commit 3ff7aaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ jobs:
2828
- name: Install
2929
run: npm ci --ignore-scripts
3030
timeout-minutes: 10
31-
- name: List affected packages
32-
run: npm run list:affected
3331
# Note: when pushing to main we want to test only what changed in
3432
# last commit. Otherwise we want to test all changes from origin/main.
3533
# So we set the right values for base and head commits depending
@@ -44,6 +42,8 @@ jobs:
4442
echo "NX_BASE=origin/main" >> "$GITHUB_ENV"
4543
echo "NX_HEAD=HEAD" >> "$GITHUB_ENV"
4644
fi
45+
- name: List affected packages
46+
run: npm run list:affected
4747
- name: Compile (Delta)
4848
run: npm run compile:ci:affected
4949
- name: Upload Build Artifacts

0 commit comments

Comments
 (0)