From b82a6f36a4c279614404ba04209cfbba5a433a62 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Apr 2024 07:06:13 +0000 Subject: [PATCH 1/2] Bump the all group with 3 updates Bumps the all group with 3 updates: [actions/checkout](https://github.com/actions/checkout), [actions/setup-node](https://github.com/actions/setup-node) and [chromaui/action](https://github.com/chromaui/action). Updates `actions/checkout` from 1 to 4 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v1...v4) Updates `actions/setup-node` from 3 to 4 - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v3...v4) Updates `chromaui/action` from 1 to 11 - [Release notes](https://github.com/chromaui/action/releases) - [Commits](https://github.com/chromaui/action/compare/v1...v11) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major dependency-group: all - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-major dependency-group: all - dependency-name: chromaui/action dependency-type: direct:production update-type: version-update:semver-major dependency-group: all ... Signed-off-by: dependabot[bot] --- .github/workflows/chromatic.yml | 6 +++--- .github/workflows/performance.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 3f7ca7e9eb..fdba8d0589 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -20,17 +20,17 @@ jobs: chromatic-deployment: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 # TODO: Remove this line when we can safely upgrade all our packages # to versions that support Node 16. # See https://github.com/wellcomecollection/wellcomecollection.org/pull/9324 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 16 - name: Install dependencies run: yarn - name: Publish to Chromatic - uses: chromaui/action@v1 + uses: chromaui/action@v11 with: projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} onlyChanged: true diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index 05ceffb395..a73b67d4b0 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -21,11 +21,11 @@ jobs: name: Bundle size diff runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 # TODO: Remove this line when we can safely upgrade all our packages # to versions that support Node 16. # See https://github.com/wellcomecollection/wellcomecollection.org/pull/9324 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 16 - uses: preactjs/compressed-size-action@v2 From c081fdb5c7a3924626038fdeae4fa7ec0686b155 Mon Sep 17 00:00:00 2001 From: Robert Kenny Date: Wed, 10 Apr 2024 12:03:07 +0100 Subject: [PATCH 2/2] add fetch depth, follow error adice --- .github/workflows/chromatic.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index fdba8d0589..c50fb4b468 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -21,6 +21,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 # TODO: Remove this line when we can safely upgrade all our packages # to versions that support Node 16. # See https://github.com/wellcomecollection/wellcomecollection.org/pull/9324