mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-26 23:54:23 +01:00
Run bundlesize separately.
This commit is contained in:
parent
a12466aeff
commit
fda35d1499
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@ -30,6 +30,12 @@ jobs:
|
|||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: npm test
|
run: npm test
|
||||||
|
|
||||||
|
- name: Run bundlesize
|
||||||
|
run: npm run bundlesize
|
||||||
|
if: matrix.node == 10 && github.repository == 'twbs/bootstrap'
|
||||||
|
env:
|
||||||
|
BUNDLESIZE_GITHUB_TOKEN: "${{ secrets.BUNDLESIZE_GITHUB_TOKEN }}"
|
||||||
|
|
||||||
- name: Run BrowserStack tests
|
- name: Run BrowserStack tests
|
||||||
run: npm run js-test-cloud
|
run: npm run js-test-cloud
|
||||||
if: matrix.node == 10 && github.repository == 'twbs/bootstrap' && github.event_name == 'push'
|
if: matrix.node == 10 && github.repository == 'twbs/bootstrap' && github.event_name == 'push'
|
||||||
|
@ -80,7 +80,7 @@
|
|||||||
"release-version": "node build/change-version.js",
|
"release-version": "node build/change-version.js",
|
||||||
"release-zip": "cross-env-shell \"shx rm -rf bootstrap-$npm_package_version-dist && shx cp -r dist/ bootstrap-$npm_package_version-dist && zip -r9 bootstrap-$npm_package_version-dist.zip bootstrap-$npm_package_version-dist && shx rm -rf bootstrap-$npm_package_version-dist\"",
|
"release-zip": "cross-env-shell \"shx rm -rf bootstrap-$npm_package_version-dist && shx cp -r dist/ bootstrap-$npm_package_version-dist && zip -r9 bootstrap-$npm_package_version-dist.zip bootstrap-$npm_package_version-dist && shx rm -rf bootstrap-$npm_package_version-dist\"",
|
||||||
"dist": "npm-run-all --parallel css js",
|
"dist": "npm-run-all --parallel css js",
|
||||||
"test": "npm-run-all lint dist js-test docs-build docs-lint bundlesize",
|
"test": "npm-run-all lint dist js-test docs-build docs-lint",
|
||||||
"netlify": "npm-run-all dist release-sri docs-production",
|
"netlify": "npm-run-all dist release-sri docs-production",
|
||||||
"watch": "npm-run-all --parallel watch-*",
|
"watch": "npm-run-all --parallel watch-*",
|
||||||
"watch-css-main": "nodemon --watch scss/ --ext scss --exec \"npm run css-main\"",
|
"watch-css-main": "nodemon --watch scss/ --ext scss --exec \"npm run css-main\"",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user