Skip to content

Commit

Permalink
Pages action: Install pnpm & install deps for frontend.
Browse files Browse the repository at this point in the history
  • Loading branch information
jyasskin authored Oct 17, 2023
1 parent 90532d2 commit 79b01ab
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,16 @@ concurrency:
group: "pages"
cancel-in-progress: false

env:
BUILD_PATH: "." # default value when not using subfolders
# BUILD_PATH: subfolder

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: latest
- name: Setup Node
uses: actions/setup-node@v3
with:
Expand All @@ -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 \
Expand Down

0 comments on commit 79b01ab

Please sign in to comment.