From 8acdf1affd29f5a0bf66444d0dff893c62b960d8 Mon Sep 17 00:00:00 2001 From: Tyler Hill Date: Thu, 14 Nov 2024 13:29:38 -0600 Subject: [PATCH] Add dummy envs --- .github/workflows/lint-check.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/lint-check.yml b/.github/workflows/lint-check.yml index 3e80578..e683a32 100644 --- a/.github/workflows/lint-check.yml +++ b/.github/workflows/lint-check.yml @@ -20,6 +20,9 @@ jobs: - name: Run npm install run: npm ci + - name: Set up test environment file + run: echo "GOOGLE_CLIENT_ID=dummy" > .env.test.local && echo "GOOGLE_CLIENT_SECRET=dummy" >> .env.test.local && echo "NEXTAUTH_URL=dummy" >> .env.test.local && echo "NEXTAUTH_SECRET=dummy" >> .env.test.local && echo "DATABASE_URL=dummy" >> .env.test.local && echo "DISCORD_CLIENT_ID=dummy" >> .env.test.local && echo "DISCORD_CLIENT_SECRET=dummy" >> .env.test.local + - name: Run ESLint run: npm run lint:check