Skip to content

Commit d5b1556

Browse files
authored
Drop Node 18 support (#10392)
* Drop Node 18 support * Add changeset
1 parent 8da92a5 commit d5b1556

File tree

6 files changed

+24
-20
lines changed

6 files changed

+24
-20
lines changed

.changeset/wicked-timers-eat.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
'@graphql-codegen/visitor-plugin-common': major
3+
'@graphql-codegen/typescript-resolvers': major
4+
'@graphql-codegen/graphql-modules-preset': major
5+
'@graphql-codegen/plugin-helpers': major
6+
'@graphql-codegen/cli': major
7+
'@graphql-codegen/client-preset': major
8+
'@graphql-codegen/core': major
9+
'@graphql-codegen/add': major
10+
'@graphql-codegen/fragment-matcher': major
11+
'@graphql-codegen/introspection': major
12+
'@graphql-codegen/schema-ast': major
13+
'@graphql-codegen/time': major
14+
'@graphql-codegen/typescript-document-nodes': major
15+
'@graphql-codegen/gql-tag-operations': major
16+
'@graphql-codegen/typescript-operations': major
17+
'@graphql-codegen/typed-document-node': major
18+
'@graphql-codegen/typescript': major
19+
'@graphql-codegen/testing': major
20+
---
21+
22+
Drop Node 18 support

.github/workflows/main.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ jobs:
2929
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
3030
- name: Setup env
3131
uses: the-guild-org/shared-config/setup@main
32-
with:
33-
nodeVersion: 18
3432
- name: Prettier Check
3533
run: yarn prettier:check
3634
dev-tests-old:
@@ -46,8 +44,6 @@ jobs:
4644
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
4745
- name: Setup env
4846
uses: the-guild-org/shared-config/setup@main
49-
with:
50-
nodeVersion: 18
5147
- name: Build
5248
run: yarn build
5349
env:
@@ -64,8 +60,6 @@ jobs:
6460
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
6561
- name: Setup env
6662
uses: the-guild-org/shared-config/setup@main
67-
with:
68-
nodeVersion: 18
6963
- name: Build
7064
run: yarn build
7165
env:
@@ -88,8 +82,6 @@ jobs:
8882
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
8983
- name: Setup env
9084
uses: the-guild-org/shared-config/setup@main
91-
with:
92-
nodeVersion: 18
9385
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1
9486
with:
9587
toolchain: 1.65.0
@@ -121,8 +113,6 @@ jobs:
121113
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
122114
- name: Setup env
123115
uses: the-guild-org/shared-config/setup@main
124-
with:
125-
nodeVersion: 18
126116
- name: Build
127117
run: yarn build
128118
env:
@@ -139,10 +129,10 @@ jobs:
139129
strategy:
140130
matrix:
141131
os: [ubuntu-latest] # remove windows to speed up the tests
142-
node_version: [16, 18, 20]
132+
node_version: [20, 22, 24]
143133
graphql_version: [15, 16]
144134
include:
145-
- node-version: 14
135+
- node-version: 20
146136
os: windows-latest
147137
graphql_version: 16
148138
steps:

.github/workflows/pr.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
with:
1818
npmTag: alpha
1919
buildScript: build
20-
nodeVersion: 18
2120
secrets:
2221
githubToken: ${{ secrets.GITHUB_TOKEN }}
2322
npmToken: ${{ secrets.NPM_TOKEN }}
@@ -29,7 +28,6 @@ jobs:
2928
npmTag: rc
3029
restoreDeletedChangesets: true
3130
buildScript: build
32-
nodeVersion: 18
3331
secrets:
3432
githubToken: ${{ secrets.GITHUB_TOKEN }}
3533
npmToken: ${{ secrets.NPM_TOKEN }}

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ jobs:
99
uses: the-guild-org/shared-config/.github/workflows/release-stable.yml@main
1010
with:
1111
releaseScript: release
12-
nodeVersion: 18
1312
secrets:
1413
# githubToken: ${{ secrets.GUILD_BOT_TOKEN }}
1514
githubToken: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/website-integrity.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ jobs:
1515

1616
- name: Setup env
1717
uses: the-guild-org/shared-config/setup@main
18-
with:
19-
nodeVersion: 18
2018

2119
- name: Build Packages
2220
run: yarn build

.github/workflows/website.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ jobs:
2020

2121
- uses: the-guild-org/shared-config/setup@main
2222
name: setup env
23-
with:
24-
nodeVersion: 18
25-
packageManager: yarn
2623

2724
- uses: the-guild-org/shared-config/website-cf@main
2825
name: build and deploy website

0 commit comments

Comments
 (0)