console/.github/workflows/graphql-schema-publish.yaml
renovate[bot] 1297a54269
chore(deps): update actions/checkout action to v4 (#2853)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-17 13:59:19 -07:00

21 lines
486 B
YAML

on:
workflow_call:
secrets:
hiveToken:
required: true
jobs:
publish:
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: schema publish
env:
HIVE_TOKEN: ${{ secrets.hiveToken }}
run: |
curl -sSL https://graphql-hive.com/install.sh | sh
hive schema:publish "packages/services/api/src/modules/*/module.graphql.ts" --github