-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
806a329
commit 5fa95f4
Showing
282 changed files
with
11,631 additions
and
15,037 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Benchmark | ||
|
||
on: [push] | ||
|
||
jobs: | ||
Benchmark: | ||
name: Benchmark on node ${{ matrix.node_version }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node_version: [12, 14] | ||
env: | ||
CI: true | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Use Node.js ${{ matrix.node_version }} | ||
uses: actions/setup-node@master | ||
with: | ||
node-version: ${{ matrix.node_version }} | ||
|
||
- name: Get yarn cache | ||
id: yarn-cache | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
- name: Cache Yarn | ||
uses: actions/cache@v1 | ||
with: | ||
path: ${{ steps.yarn-cache.outputs.dir }} | ||
key: ${{ runner.os }}-${{ matrix.node_version }}-yarn-${{ hashFiles('yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-${{ matrix.node_version }}-yarn- | ||
- name: Install | ||
run: yarn | ||
|
||
- name: Build | ||
run: yarn build | ||
|
||
- name: Benchmark | ||
run: 'yarn benchmark:basic' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: Canary Release | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
publish-canary: | ||
name: Publish Canary | ||
runs-on: ubuntu-latest | ||
if: contains(github.actor, 'dependabot') == false && github.event.pull_request.head.repo.full_name == github.repository | ||
steps: | ||
- name: Checkout Master | ||
uses: actions/checkout@v1 | ||
- name: Use Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '14.x' | ||
- name: Get yarn cache | ||
id: yarn-cache | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
- name: Cache Yarn | ||
uses: actions/cache@v1 | ||
with: | ||
path: ${{ steps.yarn-cache.outputs.dir }} | ||
key: ${{ runner.os }}-14-15-yarn-${{ hashFiles('yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-14-15-yarn- | ||
- name: Install Dependencies using Yarn | ||
run: yarn install && git checkout yarn.lock | ||
- name: Build | ||
run: yarn build | ||
|
||
- name: Release Canary | ||
id: canary | ||
uses: 'kamilkisiela/release-canary@master' | ||
if: github.repository == 'ardatan/graphql-tools' | ||
with: | ||
npm-token: ${{ secrets.NODE_AUTH_TOKEN }} | ||
npm-script: 'release:canary' | ||
- name: Publish a message | ||
if: steps.canary.outputs.released | ||
uses: 'kamilkisiela/pr-comment@master' | ||
with: | ||
message: | | ||
The latest changes of this PR are available as alpha in npm: `${{ steps.canary.outputs.version }}` | ||
Quickly update your package.json by running: | ||
npx match-version graphql-modules ${{ steps.canary.outputs.version }} | ||
bot-token: ${{ secrets.GH_API_TOKEN }} | ||
bot: 'theguild-bot' | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: CI | ||
|
||
on: [push] | ||
|
||
jobs: | ||
Test: | ||
name: Test on node ${{ matrix.node_version }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node_version: [12, 14] | ||
env: | ||
CI: true | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Use Node.js ${{ matrix.node_version }} | ||
uses: actions/setup-node@master | ||
with: | ||
node-version: ${{ matrix.node_version }} | ||
|
||
- name: Get yarn cache | ||
id: yarn-cache | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
- name: Cache Yarn | ||
uses: actions/cache@v1 | ||
with: | ||
path: ${{ steps.yarn-cache.outputs.dir }} | ||
key: ${{ runner.os }}-${{ matrix.node_version }}-yarn-${{ hashFiles('yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-${{ matrix.node_version }}-yarn- | ||
- name: Install | ||
run: yarn | ||
|
||
- name: Build | ||
run: yarn build | ||
|
||
- name: Test | ||
run: yarn test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,34 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# Dependency directories | ||
node_modules | ||
.idea | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
|
||
# Builds | ||
dist | ||
build | ||
out | ||
temp | ||
lerna-debug.log | ||
packages/*/yarn.lock | ||
packages/*/yarn-error.log | ||
examples/*/yarn.lock | ||
packages/*/yarn-error.log | ||
yarn-error.log | ||
|
||
.DS_Store | ||
|
||
lib/core/metadata.js | ||
lib/core/MetadataBlog.js | ||
|
||
website/translated_docs | ||
website/build/ | ||
website/yarn.lock | ||
website/functions | ||
website/node_modules | ||
website/i18n/* | ||
|
||
docs/api/**/*.md | ||
|
||
test-results/ | ||
junit.xml | ||
|
||
yarn.lock | ||
package-lock.json | ||
|
||
# IDE | ||
.idea | ||
.vscode | ||
|
||
.bob | ||
tsconfig.tsbuildinfo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
dist | ||
**/dist |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- [x] rename `createApp` to `createApplication` | ||
- [ ] write a long message of what the new modules are as an introduction to Gago instead of a video call |
Oops, something went wrong.