File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 11
11
12
12
jobs :
13
13
main :
14
- runs-on : ubuntu-latest
14
+ runs-on : equinix-4cpu-16gb
15
15
steps :
16
16
- uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
17
17
with :
18
18
# We need to fetch all branches and commits so that Nx affected has a base to compare against.
19
19
fetch-depth : 0
20
- - uses : nrwl/nx-set-shas@40f1175ceec169e68c9857c27aa7c5063692aa9a # v4
21
20
- uses : actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
22
21
with :
23
22
node-version : 18
24
23
cache : ' npm'
24
+ # Mark your git directory as safe for self-hosted runners
25
+ # https://github.com/nrwl/nx-set-shas?tab=readme-ov-file#self-hosted-runners
26
+ - name : Set Directory as Safe
27
+ run : |
28
+ git config --add safe.directory "$GITHUB_WORKSPACE"
29
+ shell : bash
30
+ - uses : nrwl/nx-set-shas@40f1175ceec169e68c9857c27aa7c5063692aa9a # v4
25
31
- run : npm ci
26
32
- run : npx nx affected --target=lint --parallel=3
27
33
- run : npx nx affected --target=build --parallel=3 --ci
You can’t perform that action at this time.
0 commit comments