Skip to content

Commit bd8c2ab

Browse files
committed
fix: add ci/cd pipeline to use the correct package-lock.json
1 parent 719bf82 commit bd8c2ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/cloudflare-hosting-merge.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
with:
2323
node-version: '18'
2424
cache: 'npm'
25+
cache-dependency-path: 'package-lock.json'
2526

2627
- name: Installing dependencies
2728
run: npm ci
@@ -41,7 +42,7 @@ jobs:
4142
- name: Build analytics dashboard
4243
run: |
4344
cd analytics-dashboard
44-
npm ci
45+
npm install --prefer-offline
4546
npm run build
4647
4748
- name: Deploy main site to Cloudflare Pages

0 commit comments

Comments
 (0)