Fixes oauth tests (#1506)

* Fixes oauth tests

* Login page type fixes

* Delegates approval to github UI
This commit is contained in:
Omar López
2022-01-13 13:45:44 -07:00
committed by GitHub
parent 1a20b0a0c6
commit e5f8437282
2 changed files with 5 additions and 20 deletions

View File

@@ -4,25 +4,16 @@ on:
branches:
- main
jobs:
approve:
runs-on: ubuntu-latest
steps:
- name: Approve
run: echo For security reasons, all pull requests need to be approved first before running any automated CI.
test:
timeout-minutes: 10
name: ${{ matrix.node }} and ${{ matrix.os }}
needs: [approve] # Require the first step to finish
environment:
name: Preview
env:
DATABASE_URL: postgresql://postgres:@localhost:5432/calendso
BASE_URL: http://localhost:3000
JWT_SECRET: secret
PLAYWRIGHT_SECRET: ${{ secrets.CI_PLAYWRIGHT_SECRET }}
GOOGLE_API_CREDENTIALS: ${{ secrets.CI_GOOGLE_API_CREDENTIALS }}
GOOGLE_LOGIN_ENABLED: true
# CRON_API_KEY: xxx
CALENDSO_ENCRYPTION_KEY: ${{ secrets.CI_CALENDSO_ENCRYPTION_KEY }}
NEXT_PUBLIC_STRIPE_PUBLIC_KEY: ${{ secrets.CI_NEXT_PUBLIC_STRIPE_PUBLIC_KEY }}