Skip to content

build(deps): bump next from 16.0.8 to 16.0.9 (#7789) #15366

build(deps): bump next from 16.0.8 to 16.0.9 (#7789)

build(deps): bump next from 16.0.8 to 16.0.9 (#7789) #15366

Workflow file for this run

name: Tests
env:
NODE_NO_WARNINGS: true
NODE_OPTIONS: '--max-old-space-size=8192'
CI: true
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- master
pull_request:
jobs:
typecheck-15:
name: Type Check on GraphQL v15
runs-on: ubuntu-latest
steps:
- name: Checkout Master
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Setup env
uses: the-guild-org/shared-config/setup@v1
with:
node-version-file: .node-version
- name: Use GraphQL v15
run: |
node ./scripts/match-graphql.js 15
npm install
git checkout package-lock.json
npx rimraf packages/**/*/node_modules/graphql
npx rimraf packages/executor/node_modules/graphql
- name: Type Check
run: npm run ts:check
check:
name: Full Check on GraphQL v16
runs-on: ubuntu-latest
steps:
- name: Checkout Master
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Setup env
uses: the-guild-org/shared-config/setup@v1
with:
node-version-file: .node-version
- name: Prettier
run: npm run prettier:check
- name: Lint
run: npm run lint
- name: Build
run: npm run build
- name: Test ESM and CJS integrity
run: npx bob check
test:
name:
Unit Test on Node ${{matrix.node-version}} (${{matrix.os}}) and GraphQL
v${{matrix.graphql_version}}
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest] # remove windows to speed up the tests
node-version: [18, 22, 24]
graphql_version:
- 16
include:
- node-version: 18
os: ubuntu-latest
graphql_version: 15
- node-version: 18
os: windows-latest
graphql_version: 16
steps:
- name: Checkout Master
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Setup env
uses: the-guild-org/shared-config/setup@v1
with:
node-version: ${{matrix.node-version}}
- name: Use GraphQL v${{matrix.graphql_version}}
run: |
node ./scripts/match-graphql.js ${{matrix.graphql_version}}
npm install
git checkout package-lock.json
npx rimraf packages/**/*/node_modules/graphql
npx rimraf packages/executor/node_modules/graphql
- name: Cache Jest
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
with:
path: .cache/jest
key:
${{ runner.os }}-${{matrix.node-version}}-${{matrix.graphql_version}}-jest-${{
hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-${{matrix.node-version}}-${{matrix.graphql_version}}-jest-
- name: Build
run: npm run build
- name: Unit Tests
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
with:
timeout_minutes: 10
max_attempts: 5
command: npm run test --ci
- name: Leak Tests
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
with:
timeout_minutes: 10
max_attempts: 5
command: npm run test:leaks --ci
test-bun:
name: Unit Test on Bun
runs-on: ubuntu-latest
steps:
- name: Checkout Master
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Setup env
uses: the-guild-org/shared-config/setup@v1
with:
node-version-file: .node-version
- name: Build
run: npm run build
- name: Unit Tests
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
with:
timeout_minutes: 10
max_attempts: 5
command: npm run test:bun --ci