Skip to content

Commit efcbcec

Browse files
committed
Fix CI: use --legacy-peer-deps and remove package-lock.json from gitignore
1 parent 037d50d commit efcbcec

5 files changed

Lines changed: 3 additions & 237 deletions

File tree

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
node-version: '20'
1919
- name: Install dependencies
20-
run: npm ci --unsafe-perm
20+
run: npm ci --legacy-peer-deps --unsafe-perm
2121
- name: Force installing sharp
2222
run: npm install --ignore-scripts=false --verbose sharp@0.30.7 --force --unsafe-perm
2323
- name: 'Create env file'

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
with:
1717
node-version: '20'
1818
- name: Install dependencies
19-
run: npm ci --unsafe-perm
19+
run: npm ci --legacy-peer-deps --unsafe-perm
2020
- name: Force installing sharp
2121
run: npm install --ignore-scripts=false --verbose sharp@0.30.7 --force --unsafe-perm
2222
- name: 'Create env file'

.github/workflows/staging-cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
node-version: '20'
1919
- name: Install dependencies
20-
run: npm ci --unsafe-perm
20+
run: npm ci --legacy-peer-deps --unsafe-perm
2121
- name: Force installing sharp
2222
run: npm install --ignore-scripts=false --verbose sharp@0.30.7 --force --unsafe-perm
2323
- name: 'Create env file'

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ public
44
.idea/*
55
*.iml
66
.DS_Store
7-
package-lock.json

package-lock.json

Lines changed: 0 additions & 233 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)