Commit 91d6096e authored by Mickaël Bourgier's avatar Mickaël Bourgier
Browse files

👷 Add typescript build check to CI

parent 3abe3b48
Pipeline #1772 passed with stage
in 1 minute and 39 seconds
......@@ -6,6 +6,7 @@ test:
before_script:
- yarn install
script:
- yarn build:check
- yarn test --coverage
- yarn lint
- yarn prettier:check
......@@ -27,6 +27,7 @@
"module": "dist/es/index.js",
"scripts": {
"build": "rm -rf dist && tsc --rootDir ./src --outDir ./dist --declaration",
"build:check": "tsc --noEmit",
"dev": "WEBPACK_TARGET=docs yarn docs:dev",
"docs:build": "rm -rf docs/dist && NODE_ENV=production WEBPACK_TARGET=docs webpack",
"docs:dev": "webpack-dev-server --hot",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment