Replace npm run relay with make relay everywhere

The make relay target merges split graphql files into a single
schema.graphql before running the Relay compiler. All CI workflows,
the generate target, and documentation now use make relay.

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-04-14 19:56:19 +04:00
parent 00b233aa03
commit 31abc31454
5 changed files with 8 additions and 9 deletions

View File

@@ -27,7 +27,7 @@ jobs:
with:
go: "false"
- run: "npm --workspace @probo/emails run build"
- run: "npm run relay"
- run: "make relay"
- name: "Build console"
run: |
npm --workspace @probo/console run check
@@ -304,7 +304,7 @@ jobs:
go: "false"
- uses: reviewdog/action-setup@d8a7baabd7f3e8544ee4dbde3ee41d0011c3a93f # v1.5.0
- name: "Generate Relay artifacts"
run: npm run relay
run: make relay
- name: "Run eslint"
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -24,7 +24,7 @@ jobs:
with:
go: "false"
- run: "npm --workspace @probo/emails run build"
- run: "npm run relay"
- run: "make relay"
- name: "Build console"
run: |
npm --workspace @probo/console run check