From 15cb0d8e420155823c4eb0c645f900341d0469b5 Mon Sep 17 00:00:00 2001 From: Jack Schedel Date: Sat, 16 Nov 2024 20:05:48 -0500 Subject: [PATCH] workflow --- .github/workflows/deploy.yml | 7 ++++++- .github/workflows/publish.yml | 8 ++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 84f1e7f..63075bc 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -28,8 +28,13 @@ jobs: with: node-version: 22 + - name: Install pnpm + uses: pnpm/action-setup@v2 + with: + version: latest + - name: Install dependencies - run: pnpm + run: pnpm install - name: Build website run: pnpm build diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 772292c..09bcbe4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -32,6 +32,14 @@ jobs: with: node-version: 22 + - name: Install pnpm + uses: pnpm/action-setup@v2 + with: + version: latest + + - name: Install dependencies + run: pnpm install + - name: Get pnpm cache directory path id: pnpm-cache-dir-path run: echo "::set-output name=dir::$(pnpm cache dir)"