Migrate availability schedule for everyone (#1179)

* wip

* tmp mig

* add cron api key to header

* feels safer

* Revert "wip"

This reverts commit 15a8358661c6785ce9eedb93a473a8829f79d760.

* test

* add name

* normalize dates

* maybe works

* test

* fixz

* maybe fix ci

* deprecated

* step 1 -- raw sql

* seems to work

* migration seems to work

* br

* fix comment

* timouet

* disconnect prisma test

* test order

* maybs

* seems to work

* tz

* tweak

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
This commit is contained in:
authored and GitHub committed 2021-12-08 12:08:57 +00:00
1 parent bbf96a2e1d
commit 05fa1feab0
7 files changed
+1560 -466

No files matched your search

+1
View File
@@ -2,6 +2,7 @@ name: Build
on: [push]
jobs:
build:
timeout-minutes: 5
name: Build on Node ${{ matrix.node }} and ${{ matrix.os }}
env:
+1 -1
View File
@@ -53,9 +53,9 @@ jobs:
path: ${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-nextjs
- run: yarn test
- run: yarn prisma migrate deploy
- run: yarn db-seed
- run: yarn test
- run: yarn build
- run: yarn start &
- run: npx wait-port 3000 --timeout 10000