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:
4
.github/workflows/make.yaml
vendored
4
.github/workflows/make.yaml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user