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 42
42
- name : Install dependencies
43
43
shell : bash
44
44
run : pnpm install --frozen-lockfile
45
+
46
+ - name : Nx set SHAs
47
+
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:
12
12
13
13
- name : Lint
14
14
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"
16
16
17
17
- name : Build
18
18
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"
20
20
21
21
- name : Test
22
22
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
24
24
25
25
- name : E2E Tests
26
26
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
28
28
29
29
# - name: Codecov upload
30
30
# uses: codecov/codecov-action@v2
Original file line number Diff line number Diff line change 32
32
33
33
steps :
34
34
- uses : actions/checkout@v3
35
+ with :
36
+ fetch-depth : 0
35
37
- name : Setup
36
38
uses : ./.github/actions/setup
37
39
with :
You can’t perform that action at this time.
0 commit comments