Skip to content

Commit 4ee94de

Browse files
committed
UPDATE: test
1 parent 0b14795 commit 4ee94de

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/build.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff 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 }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
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": [],

0 commit comments

Comments
 (0)