Skip to content

Commit 8c55270

Browse files
committed
chore: generate files during tests in CI
1 parent 11e5aba commit 8c55270

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,11 @@ jobs:
2828
sqlc-version: '1.27.0'
2929
- uses: oven-sh/setup-bun@v2
3030
- run: wget https://github.com/bytecodealliance/javy/releases/download/v4.0.0/javy-x86_64-linux-v4.0.0.gz
31-
- run: gzip -d javy-x86_64-linux-v4.0.0.gz
32-
- run: chmod +x javy-x86_64-linux-v4.0.0
31+
- run: gzip -d javy-x86_64-linux-v4.0.0.gz -c > ./javy
32+
- run: chmod +x ./javy
3333
- run: bun install
34-
- run: bun build --entrypoints ./src/app.ts --outfile=out.js --minify --target browser
35-
- run: ./javy-x86_64-linux-v4.0.0 build out.js -o plugin.wasm
3634
- name: Run tests
37-
run: cd test && bun run test
35+
run: bun run test
3836
- id: calculate_sha256
3937
run: |
4038
sha256sum plugin.wasm > plugin.wasm.sha256

0 commit comments

Comments
 (0)