From 933b66d5c3bf6fc672959ea48dfb8d6f35dab25e Mon Sep 17 00:00:00 2001 From: Mara-Li Date: Tue, 28 May 2024 22:04:31 +0000 Subject: [PATCH] Ci(fix): use pnpm instead of npm Maybe add it as an option? Setup as reusable workflow? --- .github/workflows/deploy.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 298681aff38c7..1a74a4ba63991 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -26,9 +26,14 @@ jobs: token: ${{ secrets.GH_PAT }} fetch-depth: 0 # Fetch all history for git info submodules: "recursive" + - name: install pnpm + uses: pnpm/action-setup@v4 + with: + version: latest - uses: actions/setup-node@v4 with: node-version: 18.14 + cache: 'pnpm' - name: Fetch submodules continue-on-error: true run: | @@ -38,7 +43,7 @@ jobs: git commit -am "chore (update): fetch submodule" git push - name: Install Dependencies - run: npm ci + run: pnpm install - name: Build Quartz run: npx quartz build - name: Upload artifact