From 2d3a7fd3f7117ed927d42f21cf59340b44e588d8 Mon Sep 17 00:00:00 2001 From: Kilian von Pflugk Date: Sun, 6 Oct 2024 20:15:27 +0200 Subject: [PATCH] ci: npx is enough no install needed --- .github/workflows/build.yml | 3 --- .github/workflows/release.yml | 3 --- 2 files changed, 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 03731c6..b8f828f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a392c7b..102962c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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