31 lines
626 B
YAML
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.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
|