Skip to content

Commit

Permalink
Merge pull request #90 from bywhitebird/hotfix/setup-edgedb-in-ci
Browse files Browse the repository at this point in the history
ci(Alakazam): setup edgedb in ci
  • Loading branch information
arthur-fontaine authored Feb 21, 2024
2 parents 02f5f7b + 30dd72d commit e645819
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
with:
run_install: true

- name: Install EdgeDB
uses: edgedb/setup-edgedb@v1

- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
Expand Down
2 changes: 1 addition & 1 deletion apps/alakazam/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"postinstall": "pnpm prepare",
"prepare:nuxt": "nuxt prepare",
"prepare:panda": "panda codegen",
"prepare:edgedb": "if [ -z \"$CI\" ]; then pnpm init-db && edgedb-generate edgeql-js; fi",
"prepare:edgedb": "pnpm init-db && edgedb-generate edgeql-js",
"prepare": "npm-run-all prepare:*",
"init-db": "edgedb project info || edgedb project init --non-interactive",
"migrate-db": "edgedb migration create && edgedb migrate && pnpm prepare:edgedb"
Expand Down

0 comments on commit e645819

Please sign in to comment.