mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 22:09:27 +02:00
feat: 添加JSON优化脚本
This commit is contained in:
parent
0f71f0f3e4
commit
be4209ab14
5
.github/workflows/optimize-assets.yml
vendored
5
.github/workflows/optimize-assets.yml
vendored
@ -45,7 +45,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
if: steps.cache-node-modules.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
npm install sharp
|
||||
npm install sharp glob
|
||||
|
||||
- name: Optimize Images
|
||||
run: node scripts/optimize-images.js
|
||||
@ -53,6 +53,9 @@ jobs:
|
||||
- name: Optimize Audio
|
||||
run: node scripts/optimize-audio.js
|
||||
|
||||
- name: Optimize JSON
|
||||
run: node scripts/optimize-json.js
|
||||
|
||||
- name: Check for changes
|
||||
id: check_changes
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user