mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 11:18:39 +00:00
ci: run yarn build
on test (#3202)
* build: fail rollup on warning * ci: run yarn build on test
This commit is contained in:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -37,6 +37,9 @@ jobs:
|
|||||||
run: yarn test:jest --coverage
|
run: yarn test:jest --coverage
|
||||||
if: always()
|
if: always()
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: yarn build
|
||||||
|
|
||||||
- uses: codecov/codecov-action@v2
|
- uses: codecov/codecov-action@v2
|
||||||
with:
|
with:
|
||||||
directory: ./coverage/
|
directory: ./coverage/
|
||||||
|
@@ -102,7 +102,7 @@
|
|||||||
"clean-install": "yarn clean && yarn",
|
"clean-install": "yarn clean && yarn",
|
||||||
"start": "webpack serve --config webpack.dev.js",
|
"start": "webpack serve --config webpack.dev.js",
|
||||||
"analyze": "webpack --config webpack.analyze.js",
|
"analyze": "webpack --config webpack.analyze.js",
|
||||||
"build": "rimraf dist/ && mkdirp dist && cp README.md dist && rollup -c && webpack && node update-sri.js package dist/README.md",
|
"build": "rimraf dist/ && mkdirp dist && cp README.md dist && rollup -c --failAfterWarnings && webpack && node update-sri.js package dist/README.md",
|
||||||
"watch": "yarn build --watch",
|
"watch": "yarn build --watch",
|
||||||
"postversion": "yarn dist && node update-sri.js package README.md contrib/*/README.md docs/*.md website/pages/index.html",
|
"postversion": "yarn dist && node update-sri.js package README.md contrib/*/README.md docs/*.md website/pages/index.html",
|
||||||
"semantic-release": "semantic-release",
|
"semantic-release": "semantic-release",
|
||||||
|
Reference in New Issue
Block a user