mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-15 14:05:47 -05:00
Update to npm 8, pin in package.json via volta and corepack (#49941)
This commit is contained in:
5
.github/workflows/update-package-lock.yaml
vendored
5
.github/workflows/update-package-lock.yaml
vendored
@@ -16,13 +16,14 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 14
|
||||
node-version: 16
|
||||
|
||||
- name: Configure git and update package-lock.json
|
||||
run: |
|
||||
git config user.email "typescriptbot@microsoft.com"
|
||||
git config user.name "TypeScript Bot"
|
||||
npm install --package-lock-only --ignore-scripts
|
||||
rm package-lock.json
|
||||
npm install --package-lock-only --ignore-scripts # This is a no-op if package-lock.json is present.
|
||||
git add -f package-lock.json
|
||||
if git commit -m "Update package-lock.json"; then
|
||||
git push
|
||||
|
||||
Reference in New Issue
Block a user