diff --git a/.github/workflows/minify.yml b/.github/workflows/minify.yml index 2cbff27..8d1eda2 100644 --- a/.github/workflows/minify.yml +++ b/.github/workflows/minify.yml @@ -27,9 +27,6 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 - - name: Install luamin - run: npm install -g luamin - - name: Switch to minified branch run: git checkout minified @@ -42,7 +39,7 @@ jobs: run: | for file in $(find . -name "*.lua" -not -path "./.git/*"); do echo $file - cat "$file" | luamin -c > "$file" + node minify.js $file done - name: Commit and push to minified branch