Skip to content

Commit dd45018

Browse files
committed
feat(ci): add step to derive SHAs for nx affected commands
1 parent 69145d3 commit dd45018

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ jobs:
4242

4343
- run: pnpm install --frozen-lockfile
4444

45+
- name: Derive appropriate SHAs for base and head for `nx affected` commands
46+
uses: nrwl/nx-set-shas@v4
47+
4548
# Prepend any command with "nx-cloud record --" to record its logs to Nx Cloud
4649
# - run: pnpm exec nx-cloud record -- echo Hello World
4750
- run: pnpm exec nx affected -t lint test build

0 commit comments

Comments
 (0)