From e8c110c45fae09be5d37f6041401253ab03cbc1f Mon Sep 17 00:00:00 2001 From: Jake Barron <150710532+jakeb-nhs@users.noreply.github.com> Date: Wed, 15 May 2024 10:50:17 +0100 Subject: [PATCH] Update storybook.yml to work with new yarn version --- .github/workflows/storybook.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml index 822baab6..e324a237 100644 --- a/.github/workflows/storybook.yml +++ b/.github/workflows/storybook.yml @@ -10,9 +10,20 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: '18.x' + + - name: Enable corepack + run: corepack enable + + - name: Set Yarn version + run: yarn set version stable - name: Yarn Install run: yarn install