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