ci: npx is enough no install needed
This commit is contained in:
parent
168b528d71
commit
2d3a7fd3f7
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -49,9 +49,6 @@ jobs:
|
||||
with:
|
||||
node-version: "lts/*"
|
||||
|
||||
- name: Install html-minifier-terser
|
||||
run: npm install terser html-minifier-terser
|
||||
|
||||
- name: Minify HTML
|
||||
run: |
|
||||
npx html-minifier-terser --collapse-boolean-attributes --collapse-whitespace --collapse-inline-tag-whitespace --remove-comments --remove-optional-tags --remove-redundant-attributes --remove-script-type-attributes --remove-tag-whitespace --use-short-doctype --minify-css true --minify-js true -o ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html
|
||||
|
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@ -23,9 +23,6 @@ jobs:
|
||||
with:
|
||||
node-version: "lts/*"
|
||||
|
||||
- name: Install html-minifier-terser
|
||||
run: npm install terser html-minifier-terser
|
||||
|
||||
- name: Minify HTML
|
||||
run: |
|
||||
npx html-minifier-terser --collapse-boolean-attributes --collapse-whitespace --collapse-inline-tag-whitespace --remove-comments --remove-optional-tags --remove-redundant-attributes --remove-script-type-attributes --remove-tag-whitespace --use-short-doctype --minify-css true --minify-js true -o ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html
|
||||
|
Loading…
x
Reference in New Issue
Block a user