File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -11,15 +11,18 @@ jobs:
1111 with :
1212 node-version : ' 16.x'
1313
14+ - uses : hmarr/debug-action@v2
15+
1416 # Install dependencies
1517 - run : npm ci
1618
1719 # Build and output webpack stats to artifacts/webpack-stats.json
18- - run : npm run build --if-present
20+ - run : npm run build -- --json webpack-stats.json
1921
2022 # Send webpack stats and build information to RelativeCI
2123 - name : Send webpack stats to RelativeCI
22- uses : relative-ci/agent-action@293e8b50a670e7ed63c5c6d1ba7ccf752ec93de2
24+ uses : relative-ci/agent-action@nodejs-action
2325 with :
24- webpackStatsFile : ./artifacts/ webpack-stats.json
26+ webpackStatsFile : ./webpack-stats.json
2527 key : ${{ secrets.RELATIVE_CI_KEY }}
28+ token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 55 "main" : " index.js" ,
66 "scripts" : {
77 "start" : " webpack-dev-server" ,
8- "build" : " webpack --mode production --json artifacts/webpack-stats.json " ,
8+ "build" : " webpack --mode production" ,
99 "test" : " echo \" Error: no test specified\" && exit 0"
1010 },
1111 "keywords" : [],
You can’t perform that action at this time.
0 commit comments