From a037af33eafb505807d9ba0802f89bf219f0538d Mon Sep 17 00:00:00 2001 From: Olivier Savignac <1275666+sircharlo@users.noreply.github.com> Date: Tue, 15 Oct 2024 08:36:20 -0400 Subject: [PATCH] fix: yarn version for docs build --- .github/workflows/docs.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 0e6b3ca6..2218e39d 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -36,11 +36,25 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Setup Node + - name: Setup target Node.js to enable Corepack uses: actions/setup-node@v4 with: node-version: 20 - cache: yarn + - run: | + corepack enable + yarn -v + - name: Install Node.js, NPM and Yarn + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'yarn' + - run: | + yarn -v + # - name: Setup Node + # uses: actions/setup-node@v4 + # with: + # node-version: 20 + # cache: yarn - name: Setup Pages uses: actions/configure-pages@v4 - name: Install dependencies