File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 4242 - name : Install dependencies
4343 shell : bash
4444 run : pnpm install --frozen-lockfile
45+
46+ - name : Nx set SHAs
47+ uses : nrwl/nx-set-shas@v3.0.1
48+ id : setSHAs
49+ with :
50+ main-branch-name : ' main'
Original file line number Diff line number Diff line change @@ -12,19 +12,19 @@ runs:
1212
1313 - name : Lint
1414 shell : bash
15- run : pnpx nx affected:lint --base=last-release --exclude="add-nx-to-qwik"
15+ run : pnpx nx affected:lint --base=${{ env.NX_BASE }} --head=HEAD --exclude="add-nx-to-qwik"
1616
1717 - name : Build
1818 shell : bash
19- run : pnpx nx affected:build --base=last-release --exclude="add-nx-to-qwik"
19+ run : pnpx nx affected:build --base=${{ env.NX_BASE }} --head=HEAD --exclude="add-nx-to-qwik"
2020
2121 - name : Test
2222 shell : bash
23- run : npx nx affected --target=test --base=last-release
23+ run : npx nx affected --target=test --base=${{ env.NX_BASE }} --head=HEAD
2424
2525 - name : E2E Tests
2626 shell : bash
27- run : npx nx affected --target=e2e --base=last-release
27+ run : npx nx affected --target=e2e --base=${{ env.NX_BASE }} --head=HEAD
2828
2929 # - name: Codecov upload
3030 # uses: codecov/codecov-action@v2
Original file line number Diff line number Diff line change 3232
3333 steps :
3434 - uses : actions/checkout@v3
35+ with :
36+ fetch-depth : 0
3537 - name : Setup
3638 uses : ./.github/actions/setup
3739 with :
You can’t perform that action at this time.
0 commit comments