Git ignore package-lock.json and forcibly update in workflow

This commit is contained in:
Andrew Casey
2020-08-19 17:57:22 -07:00
parent 4d57d35949
commit 00d7d52729
2 changed files with 2 additions and 1 deletions

View File

@@ -22,6 +22,6 @@ jobs:
git config user.email "ts_bot@rcavanaugh.com"
git config user.name "TypeScript Bot"
npm install --package-lock-only
git add package-lock.json
git add -f package-lock.json
git commit -m "Update package-lock.json"
git push

1
.gitignore vendored
View File

@@ -84,6 +84,7 @@ tests/cases/user/*/**/*.d.ts
tests/baselines/reference/dt
.failed-tests
TEST-results.xml
package-lock.json
tests/cases/user/TypeScript-React-Starter/TypeScript-React-Starter
tests/cases/user/TypeScript-Node-Starter/TypeScript-Node-Starter
tests/cases/user/TypeScript-React-Native-Starter/TypeScript-React-Native-Starter