Skip to content

Commit 704d9b8

Browse files
committed
fix: missing npm ci and setup
1 parent 0a62166 commit 704d9b8

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,11 +226,9 @@ jobs:
226226
path: artifacts
227227

228228
- name: setup GitHub Pages
229-
if: false
230229
uses: actions/configure-pages@v5
231230

232231
- name: deploy coverage to GitHub Pages
233-
if: false
234232
uses: actions/[email protected]
235233

236234
- name: release tag version from cloudsync.h
@@ -249,9 +247,15 @@ jobs:
249247
echo "❌ CLOUDSYNC_VERSION not found in cloudsync.h"
250248
exit 1
251249
250+
- uses: actions/setup-node@v4
251+
with:
252+
node-version: '20.x'
253+
registry-url: 'https://npm.pkg.github.com'
254+
scope: '@sqliteai'
255+
252256
- name: publish sqlite-wasm to npm
253257
#if: steps.tag.outputs.version != ''
254-
run: npm publish ./artifacts/cloudsync-wasm/sqlite-wasm/sqliteai-cloudsync-wasm-*+cloudsync-*.tgz
258+
run: npm ci && npm publish ./artifacts/cloudsync-wasm/sqlite-wasm/sqliteai-cloudsync-wasm-*+cloudsync-*.tgz
255259
env:
256260
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
257261

0 commit comments

Comments
 (0)