Skip to content

Commit 6582d6b

Browse files
committed
fix: streamline version retrieval in WASM build process and skip npm fix
1 parent 7ebd8f0 commit 6582d6b

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -156,15 +156,11 @@ jobs:
156156
PKG=sqlite-wasm/package.json
157157
TMP=sqlite-wasm/package.tmp.json
158158
159-
# Get versions from make commands
160-
SQLITE_VERSION=$(make sqlite_version)
161-
CLOUDSYNC_VERSION=$(make version)
162-
163159
DESC="SQLite Wasm compiled with the automatically initialized cloudsync extension. Conveniently packaged as an ES Module for effortless integration."
164160
165161
jq \
166162
--arg name "cloudsync/sqlite-wasm" \
167-
--arg version "${SQLITE_VERSION}+cloudsync-${CLOUDSYNC_VERSION}" \
163+
--arg version "$(make sqlite_version)+cloudsync-$(make version)" \
168164
--arg desc "$DESC" \
169165
--argjson keywords '["offsync","cloudsync","sqliteai"]' \
170166
--arg repo_url "git+https://github.com/sqliteai/sqlite-sync.git" \
@@ -193,7 +189,7 @@ jobs:
193189
| del(.devDependencies.shx)
194190
' "$PKG" > "$TMP" && mv "$TMP" "$PKG"
195191
196-
cd sqlite-wasm && npm i && npm run fix && npm run publint && npm run check-types && npm pack
192+
cd sqlite-wasm && npm i && npm run publint && npm run check-types && npm pack
197193
198194
- uses: actions/[email protected]
199195
if: always()

0 commit comments

Comments
 (0)