Skip to content

Commit 06f15db

Browse files
committed
Fix demo-app dependency installation to use the correct .tgz filename
1 parent 92b4b8b commit 06f15db

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/nodejs.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,14 @@ jobs:
6363

6464
- name: 🔧 Install demo-app deps + local package
6565
run: |
66+
# ── figure out the real .tgz filename (there’s only one) ───────────────
67+
PKG_TGZ="$(ls "$GITHUB_WORKSPACE"/imagekit-vue-*.tgz)"
68+
echo "Installing $PKG_TGZ"
69+
70+
# ── now set up the demo app ───────────────────────────────────────────
6671
cd test-apps/${{ matrix.app }}
6772
npm install
68-
# install your freshly-packed tarball from the workspace root
69-
npm install "${{ github.workspace }}/imagekit-vue-*.tgz" --no-save
73+
npm install "$PKG_TGZ" --no-save
7074
7175
- name: 🧑‍💻 Install Playwright browsers
7276
run: npx playwright install --with-deps

0 commit comments

Comments
 (0)