Skip to content

Commit 00d7d52

Browse files
committed
Git ignore package-lock.json and forcibly update in workflow
1 parent 4d57d35 commit 00d7d52

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/update-package-lock.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ jobs:
2222
git config user.email "[email protected]"
2323
git config user.name "TypeScript Bot"
2424
npm install --package-lock-only
25-
git add package-lock.json
25+
git add -f package-lock.json
2626
git commit -m "Update package-lock.json"
2727
git push

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ tests/cases/user/*/**/*.d.ts
8484
tests/baselines/reference/dt
8585
.failed-tests
8686
TEST-results.xml
87+
package-lock.json
8788
tests/cases/user/TypeScript-React-Starter/TypeScript-React-Starter
8889
tests/cases/user/TypeScript-Node-Starter/TypeScript-Node-Starter
8990
tests/cases/user/TypeScript-React-Native-Starter/TypeScript-React-Native-Starter

0 commit comments

Comments
 (0)