Skip to content

Commit 693bbe5

Browse files
committed
chore: bump Node to 22 and update GitHub Actions
1 parent 0497f9e commit 693bbe5

4 files changed

Lines changed: 16 additions & 13 deletions

File tree

.github/workflows/lint.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@ name: Lint
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
77

88
jobs:
99
lint:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
13-
- uses: actions/setup-node@v3
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v4
1414
with:
15-
node-version: 20
15+
node-version-file: .nvmrc
16+
1617
cache: 'yarn'
1718
- run: yarn install --frozen-lockfile
1819
- run: yarn lint

.github/workflows/test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@ name: Test
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
77

88
jobs:
99
test:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
13-
- uses: actions/setup-node@v3
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v4
1414
with:
15-
node-version: 20
15+
node-version-file: .nvmrc
16+
1617
cache: 'yarn'
1718
- run: yarn install --frozen-lockfile
1819
- run: yarn test

.github/workflows/type-check.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@ name: Type Check
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
77

88
jobs:
99
type-check:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
13-
- uses: actions/setup-node@v3
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v4
1414
with:
15-
node-version: 20
15+
node-version-file: .nvmrc
16+
1617
cache: 'yarn'
1718
- run: yarn install --frozen-lockfile
1819
- run: yarn run check:type

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v20.11.0
1+
v22.14.0

0 commit comments

Comments
 (0)