Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/actions/install-frontend-dependencies/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Install and build the frontend
description: Set up Node.js, install the frontend workspace dependencies and bundle the browser assets
description: Set up Node.js, install frontend dependencies and optionally build browser assets
inputs:
build-frontend:
description: Whether to bundle the browser assets after installing dependencies
required: false
default: 'true'
runs:
using: composite
steps:
Expand All @@ -9,5 +14,6 @@ runs:
cache: npm
- run: npm ci --ignore-scripts
shell: bash
- run: npm run build
- if: inputs.build-frontend == 'true'
run: npm run build
shell: bash
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ jobs:
steps:
- uses: actions/checkout@v7
- uses: ./.github/actions/install-frontend-dependencies
with:
build-frontend: 'false'
- run: sudo apt-get update && sudo apt-get install -y unixodbc-dev
- run: npx playwright install --with-deps --only-shell chromium
# The browser tests exercise the official site, but they do not need a
Expand Down
Loading