Skip to content

Commit 82cf498

Browse files
Use Node 26 by default
1 parent 0c35553 commit 82cf498

5 files changed

Lines changed: 22 additions & 12 deletions

File tree

.github/workflows/tests-main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ env:
2222
BUNDLE_WITHOUT: 'test:development'
2323
GH_TOKEN: ${{ secrets.SHOPIFY_GH_READ_CONTENT_TOKEN }}
2424
GH_TOKEN_SHOP: ${{ secrets.SHOP_GH_READ_CONTENT_TOKEN }}
25-
DEFAULT_NODE_VERSION: '24.1.0'
25+
DEFAULT_NODE_VERSION: '26.1.0'
2626

2727
jobs:
2828
main:
@@ -32,7 +32,7 @@ jobs:
3232
strategy:
3333
matrix:
3434
os: [ 'ubuntu-latest', 'windows-latest', 'macos-latest' ]
35-
node: [ '22.12.0', '24.1.0' ]
35+
node: [ '22.12.0', '24.1.0', '26.1.0' ]
3636
steps:
3737
- uses: actions/checkout@v3
3838
name: Checkout [${{ github.ref_name }}]
@@ -44,16 +44,16 @@ jobs:
4444
node-version: ${{ matrix.node }}
4545
- name: Build
4646
run: pnpm nx run-many --all --skip-nx-cache --target=build --output-style=stream
47-
if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '24.1.0' }}
47+
if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '26.1.0' }}
4848
- name: Lint
4949
run: pnpm nx run-many --all --skip-nx-cache --target=lint --output-style=stream
50-
if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '24.1.0' }}
50+
if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '26.1.0' }}
5151
- name: Type-check
5252
run: pnpm nx run-many --all --skip-nx-cache --target=type-check --output-style=stream
53-
if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '24.1.0' }}
53+
if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '26.1.0' }}
5454
- name: Bundle
5555
run: pnpm nx run-many --all --skip-nx-cache --target=bundle --output-style=stream
56-
if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '24.1.0' }}
56+
if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '26.1.0' }}
5757
- name: Unit tests
5858
run: pnpm vitest run ${{ env.POOL_OPTIONS }}
5959
env:

.github/workflows/tests-manual.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ on:
1111
node-version:
1212
description: 'Node version'
1313
required: true
14-
default: '24.1.0'
14+
default: '26.1.0'
1515
type: choice
1616
options:
1717
- 22.12.0
1818
- 24.1.0
19+
- 26.1.0
1920
os:
2021
description: 'Operating system'
2122
required: true
@@ -40,7 +41,7 @@ env:
4041
SHOPIFY_FLAG_CLIENT_ID: ${{ secrets.SHOPIFY_FLAG_CLIENT_ID }}
4142
GH_TOKEN: ${{ secrets.SHOPIFY_GH_READ_CONTENT_TOKEN }}
4243
GH_TOKEN_SHOP: ${{ secrets.SHOP_GH_READ_CONTENT_TOKEN }}
43-
DEFAULT_NODE_VERSION: '24.1.0'
44+
DEFAULT_NODE_VERSION: '26.1.0'
4445
DEFAULT_OS: 'ubuntu-latest'
4546

4647
jobs:

.github/workflows/tests-pr.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
BUNDLE_WITHOUT: 'test:development'
1717
GH_TOKEN: ${{ secrets.SHOPIFY_GH_READ_CONTENT_TOKEN }}
1818
GH_TOKEN_SHOP: ${{ secrets.SHOP_GH_READ_CONTENT_TOKEN }}
19-
DEFAULT_NODE_VERSION: '24.1.0'
19+
DEFAULT_NODE_VERSION: '26.1.0'
2020

2121
jobs:
2222
type-check:
@@ -156,7 +156,7 @@ jobs:
156156
strategy:
157157
matrix:
158158
os: [ 'ubuntu-latest', 'windows-latest', 'macos-latest' ]
159-
node: [ '22.12.0', '24.1.0' ]
159+
node: [ '22.12.0', '24.1.0', '26.1.0' ]
160160
shard: [ '' ]
161161
include:
162162
# Add sharding for Windows jobs to reduce wall-clock time
@@ -172,6 +172,12 @@ jobs:
172172
- os: windows-latest
173173
node: '24.1.0'
174174
shard: '2/2'
175+
- os: windows-latest
176+
node: '26.1.0'
177+
shard: '1/2'
178+
- os: windows-latest
179+
node: '26.1.0'
180+
shard: '2/2'
175181
exclude:
176182
# Exclude the non-sharded Windows entries (replaced by sharded ones above)
177183
- os: windows-latest
@@ -180,6 +186,9 @@ jobs:
180186
- os: windows-latest
181187
node: '24.1.0'
182188
shard: ''
189+
- os: windows-latest
190+
node: '26.1.0'
191+
shard: ''
183192
steps:
184193
- uses: actions/checkout@v3
185194
with:

.github/workflows/update-graphql-deps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Setup deps
2929
uses: ./.github/actions/setup-cli-deps
3030
with:
31-
node-version: '24.1.0'
31+
node-version: '26.1.0'
3232
- name: Get schemas for codegen
3333
env:
3434
GH_TOKEN: ${{ secrets.SHOPIFY_GH_READ_CONTENT_TOKEN }}

dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: cli
22

33
up:
44
- node:
5-
version: 24.1.0
5+
version: 26.1.0
66
package_manager: pnpm@10.11.1
77
- packages:
88
- jq

0 commit comments

Comments
 (0)