Skip to content

Commit 2ced9bc

Browse files
Improve build step by ensuring a clean environment before running npm install
1 parent 86de1af commit 2ced9bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
run: npm run test:CI
4242
working-directory: react
4343
- name: Build
44-
run: npm run build
44+
run: rm -rf node_modules && rm -rf package-lock.json && npm install && npm run build
4545
working-directory: react
4646
- name: Create release asset
4747
run: tar -cvzf bwmon.tar.gz react/build server

0 commit comments

Comments
 (0)