fix: clean web/node_modules before cargo package to prevent leaking into crate

This commit is contained in:
argenis de la rosa
2026-03-14 12:59:06 -04:00
committed by Roman Tataurov
parent 46df8c1d64
commit e3ed98caa4
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -64,6 +64,9 @@ jobs:
- name: Build web dashboard
run: cd web && npm ci && npm run build
- name: Clean node_modules before packaging
run: rm -rf web/node_modules
- name: Verify package
run: cargo package --locked --allow-dirty
@@ -286,6 +286,9 @@ jobs:
- name: Build web dashboard
run: cd web && npm ci && npm run build
- name: Clean node_modules before packaging
run: rm -rf web/node_modules
- name: Publish to crates.io
run: cargo publish --locked --allow-dirty
env: