2022-05-09 09:15:45 +00:00
|
|
|
name: Generate queries
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2022-10-13 15:59:05 +00:00
|
|
|
- develop
|
2022-05-09 09:15:45 +00:00
|
|
|
|
|
|
|
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:
|
2023-02-22 12:11:35 +00:00
|
|
|
node-version: 16.15.1
|
2022-05-09 09:15:45 +00:00
|
|
|
- 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
|