We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e95b051 commit 45e7368Copy full SHA for 45e7368
.github/workflows/ci.yml
@@ -24,7 +24,12 @@ jobs:
24
cache: 'npm'
25
26
- name: Install dependencies
27
- run: npm ci
+ run: |
28
+ if [ -f package-lock.json ]; then
29
+ npm ci
30
+ else
31
+ npm install
32
+ fi
33
34
- name: Run linter
35
run: npm run lint || true
@@ -52,7 +57,12 @@ jobs:
52
57
registry-url: 'https://registry.npmjs.org'
53
58
54
59
55
60
61
62
63
64
65
56
66
67
- name: Build
68
run: npm run build
0 commit comments