From 587b629289d918ea136dfc68f0758503ef9d5fa6 Mon Sep 17 00:00:00 2001 From: Matt Vickers Date: Mon, 25 Sep 2023 08:50:27 -0500 Subject: [PATCH] Enable chromatic turbo and update actions --- .github/workflows/chromatic.yml | 3 ++- .github/workflows/main.yml | 2 +- .github/workflows/project-automation.yml | 2 +- .github/workflows/size-limit.yml | 2 +- .github/workflows/storybook.yml | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 6604128f1..41eca21f4 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -7,7 +7,7 @@ jobs: continue-on-error: true steps: - name: Checkout 🛎️ - uses: actions/checkout@v2.3.1 + uses: actions/checkout@v4 with: persist-credentials: false fetch-depth: 0 @@ -24,6 +24,7 @@ jobs: # Chromatic GitHub Action options with: token: ${{ secrets.GITHUB_TOKEN }} + onlyChanged: true # 👇 Chromatic projectToken, refer to the manage page to obtain it. projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} autoAcceptChanges: 'main' diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f5f72b300..e92a777b6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,7 +5,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v4 - uses: actions/setup-node@v3 name: Use Node.js 16.12.0 with: diff --git a/.github/workflows/project-automation.yml b/.github/workflows/project-automation.yml index 634809287..c6972b2b2 100644 --- a/.github/workflows/project-automation.yml +++ b/.github/workflows/project-automation.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest name: Assign sub-issues with parents label and project steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: repository: Shopify/analytical-standards-github-actions ref: v1.7 diff --git a/.github/workflows/size-limit.yml b/.github/workflows/size-limit.yml index 02efae02e..f652998ea 100644 --- a/.github/workflows/size-limit.yml +++ b/.github/workflows/size-limit.yml @@ -16,6 +16,6 @@ jobs: with: node-version: 16 cache: yarn - - uses: andresz1/size-limit-action@v1.5.1 + - uses: andresz1/size-limit-action@v1.7.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml index 693ae03d9..27fcfed18 100644 --- a/.github/workflows/storybook.yml +++ b/.github/workflows/storybook.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout 🛎️ - uses: actions/checkout@v2.3.1 + uses: actions/checkout@v4 with: persist-credentials: false - name: Setup Node