Skip to content

Commit 9889afa

Browse files
author
Ravi Singh
committed
fix: add cloud lock file so jsQR is included in production build
CI was using stale package-lock.json that didn't match package-cloud.json, causing jsQR to be missing from the built bundle. The in-app QR scanner was silently failing because the library wasn't loaded.
1 parent 2e649d3 commit 9889afa

2 files changed

Lines changed: 8806 additions & 1 deletion

File tree

.github/workflows/deploy-cloud.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ jobs:
3131
working-directory: pwa
3232
run: |
3333
cp package-cloud.json package.json
34-
npm install
34+
cp package-cloud-lock.json package-lock.json
35+
npm ci
3536
3637
- name: Build frontend
3738
working-directory: pwa

0 commit comments

Comments
 (0)