Skip to content

Commit 6a1a676

Browse files
authored
Update package.lock file (#255)
Updating dependencies in the package.json silently broke the build_and_deploy workflow where `npm ci` complains on mismatch of versions between packages.json and package-lock.json Synchronize them using `npm install` which updates the lock file. Ensure `build` is using same way of building repository and build_and_XXX to ensure this will not happen in future. Signed-off-by: Artem Goncharov <[email protected]>
1 parent 01b742f commit 6a1a676

File tree

2 files changed

+234
-118
lines changed

2 files changed

+234
-118
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
2323
restore-keys: |
2424
${{ runner.os }}-node-
25-
- name: Install dependencies
26-
run: npm install
27-
- name: build page
28-
run: npm run build
25+
26+
- name: Install dependencies and build page
27+
run: |
28+
npm ci
29+
npm run build

0 commit comments

Comments
 (0)