From 50103e2b67c9b9b829a09452bafd5add91124cda Mon Sep 17 00:00:00 2001 From: Dustin Carlino Date: Wed, 10 May 2023 18:53:20 +0100 Subject: [PATCH] Assume we're building the WASM library in the Github workflows, even though it's not present in every branch yet. This'll cause errors until the other branches have been rebased --- .github/workflows/playwright.yml | 2 +- .github/workflows/web.yml | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index f629c25a4..ff6809182 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -25,7 +25,7 @@ jobs: run: npm ci - name: Build WASM - run: [ -d route_info ] && npm run wasm-release + run: npm run wasm-release - name: Install Playwright Browsers run: npx playwright install --with-deps diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml index 345b084aa..4d11af860 100644 --- a/.github/workflows/web.yml +++ b/.github/workflows/web.yml @@ -35,10 +35,7 @@ jobs: base=/atip/$branch fi - # TODO Handle failure here - [ -d route_info ] && npm run wasm-release - - if npm ci && npm run build --if-present -- --base=$base; then + if npm run wasm-release && npm ci && npm run build --if-present -- --base=$base; then if [ "$branch" == "main" ]; then mv dist/* deployme else