Skip to content

Commit c470afb

Browse files
committed
Merge branch 'main' into oneof-v2
2 parents 59cb12d + 78ccda7 commit c470afb

35 files changed

+11802
-7996
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@
22

33
Before creating your issue:
44

5-
* Have a question? Find community resources at https://graphql.org/community/
5+
- Have a question? Find community resources at https://graphql.org/community/
66

7-
* Find an editing mistake? Create a Pull Request with the edited fix! The Github UI allows you to edit files directly, find the source files at: https://github.com/graphql/graphql-spec/tree/master/spec
7+
- Find an editing mistake? Create a Pull Request with the edited fix! The Github
8+
UI allows you to edit files directly, find the source files at:
9+
https://github.com/graphql/graphql-spec/tree/master/spec
810

9-
* Improvements to documentation? Head over to https://github.com/graphql/graphql.github.io
11+
- Improvements to documentation? Head over to
12+
https://github.com/graphql/graphql.github.io
1013

11-
* Feature request? First read https://github.com/graphql/graphql-spec/blob/master/CONTRIBUTING.md and prefer creating a Pull Request!
14+
- Feature request? First read
15+
https://github.com/graphql/graphql-spec/blob/master/CONTRIBUTING.md and prefer
16+
creating a Pull Request!

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
!!! IMPORTANT !!!
22

3-
Please Read https://github.com/graphql/graphql-spec/blob/master/CONTRIBUTING.md before creating a Pull Request.
3+
Please Read https://github.com/graphql/graphql-spec/blob/master/CONTRIBUTING.md
4+
before creating a Pull Request.

.github/workflows/ci.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
branches:
8+
- main
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: actions/setup-node@v1
15+
with:
16+
node-version: "16.x"
17+
- run: npm ci
18+
- run: npm test
19+
publish:
20+
if: github.ref == 'refs/heads/main'
21+
needs: test
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v2
25+
with:
26+
fetch-depth: 0
27+
- uses: actions/setup-node@v1
28+
with:
29+
node-version: "16.x"
30+
- run: npm ci
31+
- run: npm run build
32+
- uses: peaceiris/actions-gh-pages@v3
33+
with:
34+
github_token: ${{ secrets.GITHUB_TOKEN }}
35+
keep_files: true
36+
cname: spec.graphql.org
37+
user_name: "github-actions[bot]"
38+
user_email: "github-actions[bot]@users.noreply.github.com"

.github/workflows/prettier.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Prettier formatting
2+
on: [push, pull_request]
3+
4+
jobs:
5+
build:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v2
9+
- uses: actions/setup-node@v1
10+
with:
11+
node-version: "16.x"
12+
- run: npm ci
13+
- run: npm run format:check

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
.DS_Store
55
npm-debug.log
66
/build
7-
/out
7+
/public
88
/gh-pages
99
/node_modules

.prettierignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
*.swp
2+
*~
3+
.*.haste_cache.*
4+
.DS_Store
5+
npm-debug.log
6+
/build
7+
/changelogs
8+
/out
9+
/gh-pages
10+
/node_modules
11+
/package.json

.travis.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)