From dbf62e45e60c107a6fc16482c78e8a375b61d4d1 Mon Sep 17 00:00:00 2001 From: Ophir LOJKINE Date: Wed, 7 Oct 2026 22:46:38 +0200 Subject: [PATCH] ci: skip frontend build in Playwright --- .../actions/install-frontend-dependencies/action.yml | 10 ++++++++-- .github/workflows/ci.yml | 2 ++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/actions/install-frontend-dependencies/action.yml b/.github/actions/install-frontend-dependencies/action.yml index 5ac9ddccb..9af6b9e4d 100644 --- a/.github/actions/install-frontend-dependencies/action.yml +++ b/.github/actions/install-frontend-dependencies/action.yml @@ -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: @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b72e4e7f9..3b7295c6a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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