Skip to content

Explicitly install graphql as a dev dep; run tests against v17 alpha #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,23 @@ jobs:
- run: npm ci
- run: npm test

# This runs against an old alpha of GraphQL v17; hopefully Apollo Server v5
# will support the released version when they both come out.
graphql-17-alpha-incremental-delivery:
runs-on: ubuntu-latest
name: Test against GraphQL 17 alpha with incremental delivery
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
- uses: actions/setup-node@v4
with:
cache: 'npm'
- run: npm ci
- run: npm i --legacy-peer-deps graphql@17.0.0-alpha.2
- run: npm test
env:
INCREMENTAL_DELIVERY_TESTS_ENABLED: 't'

prettier:
runs-on: ubuntu-latest
name: Prettier
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"cspell": "9.0.0",
"eslint": "9.26.0",
"express": "4.21.2",
"graphql": "16.11.0",
"jest": "29.7.0",
"jest-junit": "16.0.0",
"prettier": "3.5.3",
Expand Down