зеркало из https://github.com/github/catalyst.git
run lint & size as part of CI, but not before `npm run test`
The build step is no longer needed for tests, which in part allows us to drop these.
This commit is contained in:
Родитель
21e83d3a12
Коммит
b74432c0b9
|
@ -26,5 +26,9 @@ jobs:
|
|||
node-version: 13.11.0
|
||||
- name: Install dependencies
|
||||
run: npm i
|
||||
- name: Lint Codebase
|
||||
run: npm run lint
|
||||
- name: Run Node.js Tests
|
||||
run: npm run test
|
||||
- name: Check Bundle Size
|
||||
run: npm run size
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'",
|
||||
"presize": "npm run build",
|
||||
"size": "size-limit",
|
||||
"pretest": "npm run size && npm run lint",
|
||||
"test": "web-test-runner test/* --node-resolve"
|
||||
},
|
||||
"prettier": "@github/prettier-config",
|
||||
|
|
Загрузка…
Ссылка в новой задаче