From 974e1b88a75909e2098754f7f52fedf6688d597b Mon Sep 17 00:00:00 2001 From: Guido D'Orsi Date: Sun, 5 Nov 2023 00:01:44 +0100 Subject: [PATCH] fix: change the deploy workflow to use pnpm --- .github/workflows/deploy.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0970f0f..d8a666e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,18 +22,18 @@ jobs: steps: - uses: actions/checkout@v3 + - uses: pnpm/action-setup@v2 + - uses: actions/setup-node@v3 with: node-version: 'lts/*' + cache: 'pnpm' - name: Install dependencies - run: npm install - - - name: Install slidev - run: npm i -g @slidev/cli + run: pnpm install - name: Build - run: slidev build --base /roma-js-opening-slides/ + run: pnpm slidev build --base /roma-js-opening-slides/ - uses: actions/configure-pages@v3