Skip to content

Commit 1ca0b03

Browse files
committed
fix: improve cleanup process for sqlite-wasm
1 parent ef0d5ea commit 1ca0b03

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155
rm -rf sqlite-wasm/sqlite-wasm/*
156156
unzip dist/sqlite-wasm.zip -d sqlite-wasm/tmp
157157
mv sqlite-wasm/tmp/sqlite-wasm-*/jswasm sqlite-wasm/sqlite-wasm
158-
rm sqlite-wasm/tmp sqlite-wasm/bin sqlite-wasm/demo
158+
rm -rf sqlite-wasm/tmp sqlite-wasm/bin sqlite-wasm/demo
159159
160160
cd sqlite-wasm && npm i && npm run fix && npm run publint && npm run check-types && cd ..
161161
@@ -252,7 +252,8 @@ jobs:
252252
exit 1
253253
254254
- name: publish sqlite-wasm to npm
255-
run: ls -lah artifacts #npm publish ./artifacts/your-package-1.0.0.tgz
255+
#if: steps.tag.outputs.version != ''
256+
run: cd artifacts/cloudsync-wasm && ls -lah #npm publish ./artifacts/your-package-1.0.0.tgz
256257
env:
257258
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
258259

0 commit comments

Comments
 (0)