File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : build & test
2+ on : [push]
3+ jobs :
4+ build :
5+ runs-on : ubuntu-latest
6+ steps :
7+ # checkout repo
8+ - uses : actions/checkout@v4
9+ # rust setup
10+ - uses : dtolnay/rust-toolchain@stable
11+ with :
12+ toolchain : stable
13+ target : wasm32-unknown-unknown
14+ components : clippy, rustfmt
15+ - uses : Swatinem/rust-cache@v2
16+ - uses : extractions/setup-just@v1
17+ - name : install wasm-pack
18+ run : curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
19+ # node setup
20+ - uses : actions/setup-node@v3
21+ with :
22+ node-version : " 18"
23+ - uses : pnpm/action-setup@v2
24+ with :
25+ version : " 8"
26+ run_install : true
27+ # build, test, and package sqlsync
28+ - name : Build all
29+ run : just build
30+ - name : Unit tests
31+ run : just unit-test
32+ - name : end-to-end-local
33+ run : just test-end-to-end-local
34+ - name : end-to-end-local-net
35+ run : just test-end-to-end-local-net
36+ - name : test sqlsync-reducer
37+ run : just test-sqlsync-reducer
38+ - name : build sqlsync react and worker packages
39+ run : just package-sqlsync-react package-sqlsync-worker
Original file line number Diff line number Diff line change @@ -90,11 +90,11 @@ upload-demo-reducer mode='release' target='local':
9090 echo
9191 fi
9292
93- publish-sqlsync-worker : (package-sqlsync-worker release)
93+ publish-sqlsync-worker : (package-sqlsync-worker " release" )
9494 cd lib/ sqlsync-worker && pnpm publish --access public
9595
9696publish-sqlsync-react : package-sqlsync-react
9797 cd lib/ sqlsync-react && pnpm publish --access public
9898
99- publish-sqlsyncs -reducer :
99+ publish-sqlsync -reducer :
100100 cd lib/ sqlsync-reducer && cargo publish
You can’t perform that action at this time.
0 commit comments