Skip to content

Commit

Permalink
feat: make default delay in node processes 15ms and update tests (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
alessbell authored Jul 17, 2024
1 parent 393db6d commit 8896595
Show file tree
Hide file tree
Showing 23 changed files with 660 additions and 537 deletions.
5 changes: 5 additions & 0 deletions .changeset/loud-actors-glow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@apollo/graphql-testing-library": patch
---

Bump default "real" delay in Node processes to 20ms.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
cache: "pnpm"

- name: Install dependencies
run: pnpm install

- name: Build and publish
id: build-publish
uses: bitovi/[email protected]
with:
path: storybook-static
build_command: pnpm run build-storybook
install_command: pnpm i
checkout: false
checkout: false
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,32 @@ jobs:
- name: Lint
run: pnpm run lint

prettier:
name: Prettier
if: github.repository == 'apollographql/graphql-testing-library'
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
run_install: false

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"

- name: Install dependencies
run: pnpm install

- name: Lint
run: pnpm run lint

type-check:
name: Check types
if: github.repository == 'apollographql/graphql-testing-library'
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm-lock.yaml
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
Loading

0 comments on commit 8896595

Please sign in to comment.