diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 3f7ca7e9eb..c50fb4b468 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -20,17 +20,19 @@ jobs: chromatic-deployment: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - 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 - - 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