File tree Expand file tree Collapse file tree 3 files changed +29
-0
lines changed
packages/sqlite3_wasm_build Expand file tree Collapse file tree 3 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 5050 $changes"
5151 gh release create "$tag" --title "$tag" --notes "$body"
5252 gh release upload "${{ github.ref_name }}" packages/powersync/assets/powersync_db.worker.js packages/powersync/assets/powersync_sync.worker.js packages/sqlite3_wasm_build/dist/*.wasm
53+
54+ - name : Setup Node.js
55+ uses : actions/setup-node@v4
56+ - uses : pnpm/action-setup@v2
57+ name : Install pnpm
58+ with :
59+ run_install : false
60+ - name : Publish npm package with WASM files
61+ working-directory : packages/sqlite3/wasm_build
62+ run : |
63+ pnpm i
64+ npm version --allow-same-version --no-git-tag-version $(echo $GITHUB_REF_NAME | sed -E 's/powersync-v//')
65+ pnpm publish --no-git-checks
66+ env :
67+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
68+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 2222 if : runner.os == 'macOS'
2323 working-directory : packages/sqlite3_wasm_build
2424 run : ./build.sh
25+
26+ - name : Setup Node.js
27+ uses : actions/setup-node@v4
28+ - uses : pnpm/action-setup@v2
29+ name : Install pnpm
30+ with :
31+ run_install : false
32+ - name : Dry-run npm publish
33+ working-directory : packages/sqlite3/wasm_build
34+ run : |
35+ pnpm i
36+ pnpm publish --no-git-checks --dry-run
Original file line number Diff line number Diff line change 1+ sqlite3.dart /
You can’t perform that action at this time.
0 commit comments