From 79b01ab87b52320c4d6e0a4052fb348382c1109a Mon Sep 17 00:00:00 2001 From: Jeffrey Yasskin Date: Mon, 16 Oct 2023 20:28:31 -0700 Subject: [PATCH] Pages action: Install pnpm & install deps for frontend. --- .github/workflows/pages.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 7f67626..9f0f1a4 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -20,10 +20,6 @@ concurrency: group: "pages" cancel-in-progress: false -env: - BUILD_PATH: "." # default value when not using subfolders - # BUILD_PATH: subfolder - jobs: build: name: Build @@ -31,6 +27,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + - uses: pnpm/action-setup@v2 + with: + version: latest - name: Setup Node uses: actions/setup-node@v3 with: @@ -42,12 +41,15 @@ jobs: - name: Setup Pages id: pages uses: actions/configure-pages@v3 - - name: Install dependencies + - name: Install scanner dependencies run: pnpm install working-directory: scanner - name: Scan specification repositories run: pnpm scan working-directory: scanner + - name: Install frontend dependencies + run: pnpm install + working-directory: frontend - name: Build with Astro run: | pnpm astro build \