mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Only run coverage in CI
This commit is contained in:
parent
195ffe9f50
commit
27fd1f9883
2
.github/workflows/nodejs.yml
vendored
2
.github/workflows/nodejs.yml
vendored
@ -37,7 +37,7 @@ jobs:
|
||||
env:
|
||||
CI: true
|
||||
- run: npm run prepublishOnly
|
||||
- run: npm test
|
||||
- run: npm test -- --coverage
|
||||
env:
|
||||
CI: true
|
||||
- run: bash <(curl -s --retry 5 --retry-delay 2 --connect-timeout 2 https://codecov.io/bash)
|
||||
|
||||
@ -23,7 +23,8 @@
|
||||
"rebuild-fixtures": "npm run babelify && babel-node scripts/rebuildFixtures.js",
|
||||
"prepublishOnly": "npm run babelify && babel-node scripts/build.js",
|
||||
"style": "eslint .",
|
||||
"test": "jest && eslint .",
|
||||
"test": "jest",
|
||||
"posttest": "npm run style",
|
||||
"compat": "node scripts/compat.js --prepare",
|
||||
"compat:restore": "node scripts/compat.js --restore"
|
||||
},
|
||||
@ -96,7 +97,6 @@
|
||||
]
|
||||
},
|
||||
"jest": {
|
||||
"collectCoverage": true,
|
||||
"testTimeout": 30000,
|
||||
"setupFilesAfterEnv": [
|
||||
"<rootDir>/jest/customMatchers.js"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user