Skip to content

Commit

Permalink
CI (squash this PR)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arshia001 committed Jun 19, 2024
1 parent 3bde0d3 commit cdc7e29
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Build

on:
workflow_call:
pull_request:
push:
branches:
- main
# pull_request:
# push:
# branches:
# - main

jobs:
build-and-test:
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
run: |
conc --kill-others --success "command-1" \
"wasmer run build-artifacts/winterjs-wasm/winterjs.wasm --net --mapdir /app:./test-suite/js-test-app/dist -- serve /app/bundle.js" \
"cd test-suite && cargo run"
"sleep 10 && cd test-suite && cargo run"
echo All tests are passing! 🎉
- name: Archive build output
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
fi
mkdir -p target/wasm32-wasmer-wasi/release
touch target/wasm32-wasmer-wasi/release/winterjs.wasm
mv build-artifacts/winterjs-wasm/winterjs.wasm target/wasm32-wasmer-wasi/release/winterjs.wasm
wasmer publish --registry="wasmer.wtf" --token=${{ secrets.WAPM_DEV_TOKEN }} --non-interactive
Expand Down
Binary file removed build-artifacts/winterjs-wasm/winterjs.wasm
Binary file not shown.

0 comments on commit cdc7e29

Please sign in to comment.