Skip to content

Commit 51918c7

Browse files
committed
wf tolerant
1 parent 837be0b commit 51918c7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/deploy-ec2-cfde-liver-main.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,14 @@ jobs:
2626
uses: actions/setup-node@v4
2727
with:
2828
node-version: 18
29-
cache: npm
3029

3130
- name: Install dependencies
32-
run: npm ci
31+
run: |
32+
if [ -f package-lock.json ]; then
33+
npm ci
34+
else
35+
npm install
36+
fi
3337
3438
- name: Build production assets
3539
run: npm run deploy

0 commit comments

Comments
 (0)