Skip to content

Commit

Permalink
Assume we're building the WASM library in the Github workflows, even …
Browse files Browse the repository at this point in the history
…though it's not present in every branch yet. This'll cause errors until the other branches have been rebased
  • Loading branch information
dabreegster committed May 11, 2023
1 parent b577ab3 commit 50103e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 50103e2

Please sign in to comment.