ci: use correct fetch-depth (#22288)

* test(front): update snapshots

* ci: use correct fetch-depth
This commit is contained in:
Ben Irvin 2024-11-27 15:51:03 +01:00 committed by GitHub
parent d65d44102f
commit f6faef36d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 19 additions and 2 deletions

View File

@ -16,6 +16,9 @@ permissions:
contents: read # to fetch code (actions/checkout)
actions: read
# IMPORTANT
# Jobs using `nx affected` require nrwl/nx-set-shas, which in turn requires actions/checkout fetch-depth:0 (meaning unlimited)
jobs:
conditions:
runs-on: ubuntu-latest
@ -70,7 +73,6 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- uses: nrwl/nx-set-shas@v4
- name: Monorepo install
uses: ./.github/actions/yarn-nm-install
- name: Run docs build
@ -87,7 +89,6 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- uses: nrwl/nx-set-shas@v4
- name: Monorepo install
uses: ./.github/actions/yarn-nm-install
- name: Run lint
@ -102,6 +103,8 @@ jobs:
node: [20, 22]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # needed for nx-set-shas
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
@ -123,6 +126,8 @@ jobs:
node: [20, 22]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # needed for nx-set-shas
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
@ -150,6 +155,8 @@ jobs:
node: [20, 22]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # needed for nx-set-shas
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
@ -172,6 +179,8 @@ jobs:
node: [20]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # needed for nx-set-shas
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}

View File

@ -226,6 +226,10 @@ exports[`Upload - Configure initial render renders and matches the snapshot 1`]
color: #7b79ff;
}
.c8:hover svg path {
fill: #7b79ff;
}
.c8:active {
color: #271fe0;
}

View File

@ -166,6 +166,10 @@ exports[`Header renders 1`] = `
color: #7b79ff;
}
.c4:hover svg path {
fill: #7b79ff;
}
.c4:active {
color: #271fe0;
}