Skip to content

Commit f0849e9

Browse files
committed
Use Makefile for build
1 parent 09efc05 commit f0849e9

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,9 @@ jobs:
1313
with:
1414
sqlc-version: '1.24.0'
1515
- uses: actions/setup-node@v4
16-
- run: wget https://github.com/bytecodealliance/javy/releases/download/v1.2.0/javy-x86_64-linux-v1.2.0.gz
17-
- run: gzip -d javy-x86_64-linux-v1.2.0.gz
18-
- run: chmod +x javy-x86_64-linux-v1.2.0
19-
- run: npm install
20-
- run: npx tsc --noEmit
21-
- run: npx esbuild --bundle src/app.ts --tree-shaking=true --format=esm --target=es2020 --outfile=out.js
22-
- run: ./javy-x86_64-linux-v1.2.0 compile out.js -o examples/plugin.wasm
23-
- run: sqlc -f sqlc.dev.yaml diff
24-
working-directory: examples
16+
- name: Build
17+
run: |
18+
make generate
2519
- uses: actions/upload-artifact@v4
2620
with:
2721
name: plugin

0 commit comments

Comments
 (0)