mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-11-27 04:09:51 +08:00
fix(ci): set NODE_OPTIONS=--unhandled-rejections=warn (#1522)
* ci:add node 16 to matrix * fix(ci):set NODE_OPTIONS=--unhandled-rejections=warn
This commit is contained in:
parent
890f3f4515
commit
ce90d253e1
2
.github/workflows/node.js.yml
vendored
2
.github/workflows/node.js.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x, 14.x]
|
||||
node-version: [12.x, 14.x, 16.x]
|
||||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
||||
|
||||
steps:
|
||||
|
@ -20,7 +20,7 @@
|
||||
"format:code": "prettier --write \"(src|demo)/**/*.(vue|js)\"",
|
||||
"format:md": "prettier --write --parser markdown --prose-wrap never \"(src|demo)/**/*.md\"",
|
||||
"test": "cross-env NODE_ENV=test jest --collectCoverage=false",
|
||||
"test:cov": "cross-env NODE_ENV=test jest",
|
||||
"test:cov": "cross-env NODE_ENV=test NODE_OPTIONS=--unhandled-rejections=warn jest",
|
||||
"test:watch": "cross-env NODE_ENV=test jest ---watch --verbose --coverage",
|
||||
"gen-version": "node scripts/gen-version",
|
||||
"release-changelog": "node scripts/release-changelog",
|
||||
|
Loading…
Reference in New Issue
Block a user