From 88192ca98f9d137e41b8e9d23757d22d8a923574 Mon Sep 17 00:00:00 2001 From: Michael Brusegard <56915010+michaelbrusegard@users.noreply.github.com> Date: Fri, 20 Sep 2024 08:25:05 +0200 Subject: [PATCH] chore: add example values for envs --- .github/workflows/code-quality.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 5b95da3..181b228 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -2,6 +2,8 @@ name: Code Quality on: push: + branches: + - main pull_request: workflow_dispatch: @@ -21,6 +23,25 @@ jobs: performance-audit: name: Performance Audit runs-on: ubuntu-latest + env: + NEXT_TELEMETRY_DISABLED: true + NODE_ENV: "production" + NEXT_PUBLIC_SITE_URL: "http://localhost:3000" + DATABASE_HOST: "localhost" + DATABASE_PORT: "5432" + DATABASE_USER: "user" + DATABASE_PASSWORD: "password" + DATABASE_NAME: "database" + STORAGE_HOST: "localhost" + STORAGE_PORT: "9000" + STORAGE_USER: "user" + STORAGE_PASSWORD: "password" + STORAGE_NAME: "images" + FEIDE_CLIENT_ID: " " + FEIDE_CLIENT_SECRET: " " + FEIDE_AUTHORIZATION_ENDPOINT: "https://auth.dataporten.no/oauth/authorization" + FEIDE_TOKEN_ENDPOINT: "https://auth.dataporten.no/oauth/token" + FEIDE_USERINFO_ENDPOINT: "https://auth.dataporten.no/openid/userinfo" steps: - name: Checkout uses: actions/checkout@v4