Bah
This commit is contained in:
@@ -27,9 +27,6 @@ jobs:
|
|||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
|
|
||||||
- name: Install luamin
|
|
||||||
run: npm install -g luamin
|
|
||||||
|
|
||||||
- name: Switch to minified branch
|
- name: Switch to minified branch
|
||||||
run: git checkout minified
|
run: git checkout minified
|
||||||
|
|
||||||
@@ -42,7 +39,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
for file in $(find . -name "*.lua" -not -path "./.git/*"); do
|
for file in $(find . -name "*.lua" -not -path "./.git/*"); do
|
||||||
echo $file
|
echo $file
|
||||||
cat "$file" | luamin -c > "$file"
|
node minify.js $file
|
||||||
done
|
done
|
||||||
|
|
||||||
- name: Commit and push to minified branch
|
- name: Commit and push to minified branch
|
||||||
|
|||||||
Reference in New Issue
Block a user