From c57e8dc2fc41d79fc0ee328258930d38612c27de Mon Sep 17 00:00:00 2001 From: Liam Pietralla Date: Tue, 29 Sep 2026 18:24:37 +1000 Subject: [PATCH] fix frontend build --- .github/workflows/ci.yml | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 838528a..acc33a0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,27 +73,19 @@ jobs: build-frontend: name: Build Yale Access Frontend runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/frontend - steps: - name: Checkout uses: actions/checkout@v4 - - name: Setup Node.js - uses: actions/setup-node@v2 + - name: Setup PNPM and Node + uses: pnpm/setup@v3 with: - node-version: 20.x - - - name: Setup Yarn - run: npm install -g yarn - - - name: Install dependencies - run: yarn install + working-directory: packages/frontend + runtime: node@22 - name: Build - run: yarn run build + working-directory: ./packages/frontend + run: pnpm run build publish-frontend: name: Push Yale Access Frontend Docker Image