From a488bd4c7ab6d1f0fdd7250d23ac17e0b4bdaa61 Mon Sep 17 00:00:00 2001 From: pheralb Date: Sun, 31 Aug 2025 13:59:13 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=EF=B8=8F=20Update=20workflows=20to?= =?UTF-8?q?=20use=20Eslint=20for=20linting=20and=20set=20``PUBLIC=5FSVGL?= =?UTF-8?q?=5FVERSION``=20env=20variable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-app.yml | 2 ++ .github/workflows/check-app.yml | 10 ++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-app.yml b/.github/workflows/build-app.yml index fba2af6..9cbbcc5 100644 --- a/.github/workflows/build-app.yml +++ b/.github/workflows/build-app.yml @@ -34,3 +34,5 @@ jobs: - name: Build app run: pnpm build + env: + PUBLIC_SVGL_VERSION: v5 diff --git a/.github/workflows/check-app.yml b/.github/workflows/check-app.yml index 4098c23..402bfc9 100644 --- a/.github/workflows/check-app.yml +++ b/.github/workflows/check-app.yml @@ -11,9 +11,9 @@ on: - dev jobs: - vitest: + lint: runs-on: ubuntu-latest - name: ⚡ Testing with Vitest + name: ⚙️ Linting steps: - uses: actions/checkout@v4 @@ -23,8 +23,10 @@ jobs: - name: Install dependencies run: pnpm install - - name: Run Vitest - run: pnpm test + - name: Run Eslint + run: pnpm lint + env: + PUBLIC_SVGL_VERSION: v5 svgs-size: runs-on: ubuntu-latest