File tree Expand file tree Collapse file tree 2 files changed +18
-6
lines changed
Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -81,10 +81,22 @@ jobs:
8181 cache : ' npm'
8282 node-version : 22
8383 - run : npm ci --ignore-scripts --no-audit --no-fund
84- - name : Build package
85- run : npm run build
86- - name : Lint package
87- run : npm run lint-package
84+ - run : npm run build
85+ - run : npm run lint-package
86+
87+ bundle-analysis :
88+ name : Report bundle analysis (codecov)
89+ runs-on : ubuntu-latest
90+ steps :
91+ - uses : actions/checkout@v5
92+ - uses : actions/setup-node@v5
93+ with :
94+ cache : ' npm'
95+ node-version : 22
96+ - run : npm ci --ignore-scripts --no-audit --no-fund
97+ - run : npm run build
98+ env :
99+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
88100
89101 npm-audit :
90102 name : Audit packages
97109 with :
98110 cache : ' npm'
99111 node-version : 22
100- - name : npm audit
101- run : npm audit --audit-level=high
112+ - run : npm audit --audit-level=high
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ export default defineConfig([
1111 enableBundleAnalysis : process . env . CODECOV_TOKEN !== undefined ,
1212 bundleName : 'index.js' ,
1313 uploadToken : process . env . CODECOV_TOKEN ,
14+ telemetry : false ,
1415 } ) ,
1516 ] ,
1617 } ,
You can’t perform that action at this time.
0 commit comments