File tree Expand file tree Collapse file tree 2 files changed +28
-2
lines changed
Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Original file line number Diff line number Diff line change 1+ name : build, test and release sqlite-wasm
2+ on :
3+ push :
4+ branches :
5+ - main
6+
7+ jobs :
8+ btr :
9+ runs-on : ubuntu-22.04
10+ name : build, test and release sqlite-wasm
11+
12+ steps :
13+
14+ 15+
16+ - uses : actions/setup-node@v4
17+ with :
18+ node-version : ' 20.x'
19+ registry-url : ' https://registry.npmjs.org'
20+
21+ - name : setup playwright for tests
22+ run : npx playwright install --with-deps && npx playwright install msedge && npx playwright install chrome
23+
24+ - name : build, test and release sqlite-wasm
25+ run : cd sqlite-wasm && npm i && npm run deploy
26+ env :
27+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change @@ -45,5 +45,4 @@ cp modules/sqlite-wasm/tsconfig.json sqlite-wasm/.
4545PKG=sqlite-wasm/package.json
4646TMP=sqlite-wasm/package.tmp.json
4747
48- jq --arg version " $( cat modules/sqlite/VERSION) -sync.$( cd modules/sqlite-sync && make version) -vector.$( cd modules/sqlite-vector && make version) " ' .version = $version' " $PKG " > " $TMP " && mv " $TMP " " $PKG "
49- (cd sqlite-wasm && npm i && npm run fix && npm run publint && npm run check-types)
48+ jq --arg version " $( cat modules/sqlite/VERSION) -sync.$( cd modules/sqlite-sync && make version) -vector.$( cd modules/sqlite-vector && make version) " ' .version = $version' " $PKG " > " $TMP " && mv " $TMP " " $PKG "
You can’t perform that action at this time.
0 commit comments