vega-frontend-monorepo/.github/workflows/generate-queries.yml

31 lines
626 B
YAML
Raw Normal View History

name: Generate queries
on:
push:
branches:
2022-10-13 15:59:05 +00:00
- 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.15.1
- 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