From a56d956d853b51942c3d03253b0fdc38ece14d7b Mon Sep 17 00:00:00 2001 From: Marine Dunstetter Date: Mon, 12 Feb 2024 09:17:03 +0100 Subject: [PATCH] step 3: fix the deploy workflow --- .github/workflows/deploy.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 174bd5a5..4695786e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -6,6 +6,9 @@ on: - master - main +env: + PNPM_VERSION: 8.15.1 + jobs: build-and-deploy: runs-on: ubuntu-latest @@ -13,6 +16,17 @@ jobs: - name: Checkout 🛎️ uses: actions/checkout@v3.6.0 + - name: Install pnpm + uses: pnpm/action-setup@v2.4.0 + with: + version: ${{ env.PNPM_VERSION }} + + - name: Install Node + uses: actions/setup-node@v3 + with: + node-version: 16.x + cache: pnpm + - name: Install and Build 🔧 run: | pnpm install