Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
update README
  • Loading branch information
Chnapy committed Aug 21, 2022
1 parent 02a4914 commit caeabce
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Benchmark

on:
pull_request:
push:
branches:
- master
Expand All @@ -21,6 +20,8 @@ jobs:
with:
node-version-file: '.nvmrc'

- run: yarn install --immutable

- name: Build
run: yarn build

Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,12 @@ gql`
- as described upper, CLI is not handled out-of-box because of `tsc` design limitations
- because TypeScript compiler does not handle async operations, required by some dependencies, so use of [`deasync`](https://github.com/abbr/deasync) is required. This lib can cause issue in your script, so consider wrap its execution into `process.nextTick()`

## Benchmark

You can see performance impact using `ts-gql-plugin`: https://chnapy.github.io/ts-gql-plugin/dev/bench

Keep in mind that this benchmark shows the "worst case": it's done using a [tsconfig](./example/tsconfig.benchmark1.json) including only a single [index.ts](./example/index.ts) file with only `gql` operations, so plugin use is overrepresented.

## Contribute

### Issues
Expand Down
7 changes: 1 addition & 6 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,5 @@
"tsBuildInfoFile": "./node_modules/.cache/.tsbuildinfo",
"outDir": "./node_modules/.cache/dist"
},
"include": ["src", "benchmark", "./*.js", "./*.ts"],
"references": [
{
"path": "example"
}
]
"include": ["src", "benchmark", "./*.js", "./*.ts"]
}

0 comments on commit caeabce

Please sign in to comment.