diff --git a/.github/actions/edgedb-setup/action.yml b/.github/actions/edgedb-setup/action.yml index 35ee93daa3..83674bcccc 100644 --- a/.github/actions/edgedb-setup/action.yml +++ b/.github/actions/edgedb-setup/action.yml @@ -6,6 +6,9 @@ runs: - name: Setup EdgeDB uses: edgedb/setup-edgedb@v1 + - run: edgedb migrate --dev-mode + shell: bash + - name: Generate EdgeDB TS files shell: bash run: yarn edgedb:gen diff --git a/.github/workflows/edgedb-schema.yml b/.github/workflows/edgedb-schema.yml new file mode 100644 index 0000000000..1d872df33b --- /dev/null +++ b/.github/workflows/edgedb-schema.yml @@ -0,0 +1,12 @@ +name: EdgeDB Schema +on: + pull_request: + +jobs: + clean: + name: Migration In Sync + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: edgedb/setup-edgedb@v1 + - run: edgedb migration status