From 05ef27cef5fc21230edd207ac3756e6c474ee388 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Mon, 7 Oct 2024 20:39:34 +0300 Subject: [PATCH] ci: maybe fix eslint step --- .github/workflows/js.yml | 4 ++-- web/vite.config.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index 68835f4..888d801 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 - name: Install dependencies - run: npm install --dev --legacy-peer-deps + run: npm ci --include=dev --legacy-peer-deps - name: Run ESLint - run: eslint ./src + run: npm run lint diff --git a/web/vite.config.ts b/web/vite.config.ts index 941d643..aca9871 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -1,4 +1,4 @@ -import {defineConfig} from "vite" +import { defineConfig } from "vite" import react from "@vitejs/plugin-react-swc" export default defineConfig({ @@ -11,7 +11,7 @@ export default defineConfig({ }, "/_gomuks": { target: "http://localhost:29325", - } + }, }, }, })