Skip to content

Commit 041eeff

Browse files
committed
chore(ci): update dependency installation to use npm install conditionally
1 parent b2d0d2e commit 041eeff

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,10 @@ jobs:
4747
restore-keys: ${{ runner.os }}-node-
4848

4949
- name: Install dependencies
50-
if: ${{ !exists('node_modules') }}
51-
run: npm ci --prefer-offline --no-audit
50+
run: |
51+
if [ ! -d node_modules ]; then
52+
npm install
53+
fi
5254
5355
- name: Setup environment files
5456
run: |

0 commit comments

Comments
 (0)