From 44046c9670ffcb51b7adc3aa2d366a7096be59b3 Mon Sep 17 00:00:00 2001 From: Giovanni Baratta Date: Wed, 15 May 2024 16:24:10 +0200 Subject: [PATCH] Applying workaround for yarn v4 in GitHub pages deployment workflow Signed-off-by: Giovanni Baratta --- .github/workflows/deploy-github-pages.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/deploy-github-pages.yml b/.github/workflows/deploy-github-pages.yml index 2c71bdd..8941667 100644 --- a/.github/workflows/deploy-github-pages.yml +++ b/.github/workflows/deploy-github-pages.yml @@ -33,6 +33,15 @@ jobs: with: node-version: 18 + # Using Yarn v4 causes issue in GitHub Actions + # See https://github.com/actions/setup-node/issues/899 + - run: corepack enable + + - uses: actions/setup-node@v4 + with: + node-version: 18 + cache: yarn + - name: Yarn install uses: borales/actions-yarn@v4 with: