File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed
Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change 2222 statuses : write
2323
2424 steps :
25- - name : Checkout
26- id : checkout
27- uses : actions/checkout@v4
25+ - uses : actions/checkout@v4
2826
2927 - name : Setup Node.js
3028 uses : actions/setup-node@v4
@@ -33,17 +31,14 @@ jobs:
3331 cache : npm
3432
3533 - name : Install Dependencies
36- id : install
3734 run : npm ci
3835
39- - name : Build dist/ Directory
40- id : build
41- run : npm run bundle
36+ - name : Rebuild dist/ Directory
37+ run : npm run build
4238
4339 # This will fail the workflow if the `dist/` directory is different than
4440 # expected.
4541 - name : Compare Directories
46- id : diff
4742 run : |
4843 if [ ! -d dist/ ]; then
4944 echo "Expected dist/ directory does not exist. See status below:"
5853
5954 # If `dist/` was different than expected, upload the expected version as a
6055 # workflow artifact.
61- - if : ${{ failure() && steps.diff.outcome == 'failure' }}
62- name : Upload Artifact
63- id : upload
56+ - name : Upload Artifact
57+ if : ${{ failure() && steps.diff.outcome == 'failure' }}
6458 uses : actions/upload-artifact@v4
6559 with :
6660 name : dist
You can’t perform that action at this time.
0 commit comments