As legacy-peer-deps is specified in .npmrc, `install-legacy` and `update-legacy` are not actually needed.

pull/1603/head
Louis Lam 3 years ago
parent 254a6bfd36
commit 63c8d24d6f

@ -29,7 +29,7 @@ jobs:
with: with:
node-version: ${{ matrix.node }} node-version: ${{ matrix.node }}
cache: 'npm' cache: 'npm'
- run: npm run install-legacy - run: npm install
- run: npm run build - run: npm run build
- run: npm test - run: npm test
env: env:
@ -47,5 +47,5 @@ jobs:
with: with:
node-version: 16 node-version: 16
cache: 'npm' cache: 'npm'
- run: npm run install-legacy - run: npm install
- run: npm run lint - run: npm run lint

@ -10,8 +10,8 @@
"node": "14.* || >=16.*" "node": "14.* || >=16.*"
}, },
"scripts": { "scripts": {
"install-legacy": "npm install --legacy-peer-deps", "install-legacy": "npm install",
"update-legacy": "npm update --legacy-peer-deps", "update-legacy": "npm update",
"lint:js": "eslint --ext \".js,.vue\" --ignore-path .gitignore .", "lint:js": "eslint --ext \".js,.vue\" --ignore-path .gitignore .",
"lint-fix:js": "eslint --ext \".js,.vue\" --fix --ignore-path .gitignore .", "lint-fix:js": "eslint --ext \".js,.vue\" --fix --ignore-path .gitignore .",
"lint:style": "stylelint \"**/*.{vue,css,scss}\" --ignore-path .gitignore", "lint:style": "stylelint \"**/*.{vue,css,scss}\" --ignore-path .gitignore",

Loading…
Cancel
Save