vega-frontend-monorepo/.github/workflows/generate-queries.yml
2022-10-13 16:59:05 +01:00

31 lines
626 B
YAML

name: Generate queries
on:
push:
branches:
- develop
jobs:
master:
name: Generate Queries
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js 16
id: Node
uses: actions/setup-node@v2
with:
node-version: 16.14.0
- name: Install root dependencies
run: yarn install
- name: Generate queries
run: node ./scripts/get-queries.js
- uses: actions/upload-artifact@v2
with:
name: queries
path: ./queries.graphql