Skip to content

Commit a1c208e

Browse files
Run 'clean' before build
1 parent cbaf92b commit a1c208e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/prep-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ jobs:
6161
- name: Bump package.json version
6262
run: npm version --no-git-tag-version --allow-same-version "${NEW_VERSION}"
6363

64+
# This is required because sometimes the `build` script just won't build assets unless `dist/` is cleaned first. Makes no sense, I know!
65+
- name: Clean dist directory
66+
run: npm run clean
67+
6468
- name: Build assets
6569
run: npm run build
6670

0 commit comments

Comments
 (0)