From b7333ce4418da4ebcdd184a962bf96e39943d3a8 Mon Sep 17 00:00:00 2001 From: Arnaud Bailly Date: Fri, 14 Jun 2024 11:01:19 +0200 Subject: [PATCH] Use yarn instead of npm for building site --- .github/workflows/ci.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 32c3e3ee..a06c6aa3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -15,17 +15,17 @@ jobs: uses: actions/setup-node@v4 with: node-version: 20 - cache: 'npm' - cache-dependency-path: site/package-lock.json + cache: 'yarn' + cache-dependency-path: site/yarn.lock - name: 📦 Install dependencies working-directory: site - run: npm ci + run: yarn install - name: 🏗️ Build Docusaurus site working-directory: site run: | - npm run build + yarn build - name: 🚀 Publish Docusaurus build uses: actions/upload-artifact@v4