Skip to content

Commit 391f45b

Browse files
committed
add bundlesize to github checks
1 parent af165eb commit 391f45b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"scripts": {
2525
"build": "tsc --noEmit && mkdir -p $npm_package_config_outputDir && cp src/sankey.lua $npm_package_config_outputDir/SankeyChart.lua && cp src/$npm_package_config_templateFile $npm_package_config_outputDir && node ./build.mjs",
2626
"test": "npm-run-all test:*",
27-
"test:output": "mkdir -p $npm_package_config_testOutputDir && lua ./src/sankey_test.lua > $npm_package_config_testOutputDir/index.html && html-validate $npm_package_config_testOutputDir/index.html && bundlesize",
27+
"test:output": "mkdir -p $npm_package_config_testOutputDir && lua ./src/sankey_test.lua > $npm_package_config_testOutputDir/index.html && html-validate $npm_package_config_testOutputDir/index.html && INTERNAL_SKIP_CACHE=true bundlesize --enable-github-checks",
2828
"test:e2e": "npx playwright test",
2929
"start": "http-server $npm_package_config_testOutputDir"
3030
},

0 commit comments

Comments
 (0)