-
-
Notifications
You must be signed in to change notification settings - Fork 163
42 lines (39 loc) · 915 Bytes
/
check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Check
on:
push:
branches:
- master
pull_request:
jobs:
format:
name: Format
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: the-guild-org/shared-config/setup@v1
with:
node-version-file: .node-version
- name: Check
run: yarn check:format
types:
name: Types with graphql@${{matrix.graphql}}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
graphql: [15, 16]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: the-guild-org/shared-config/setup@v1
with:
node-version-file: .node-version
- name: Install
run: yarn add --dev graphql@${{matrix.graphql}}
- name: Info
run: yarn info graphql
- name: Check
run: yarn check:types