diff --git a/.gitea/workflows/clean-cache.yml b/.gitea/workflows/clean-cache.yml new file mode 100644 index 000000000..fad5fd62d --- /dev/null +++ b/.gitea/workflows/clean-cache.yml @@ -0,0 +1,18 @@ +name: Clean NPM Cache + +on: + push: + branches: + - temp-clean-npm-cache + +jobs: + clean-cache: + runs-on: saas + steps: + - name: Remove npm cache volume + run: | + echo "Removing xiaoxia-npm-cache volume..." + docker volume rm xiaoxia-npm-cache 2>&1 || echo "Volume not found or already removed" + echo "Done. Current volumes:" + docker volume ls | grep npm || echo "No npm volumes found" +