Skip to content

Commit 4f51f6d

Browse files
authored
Update test runner to use Node 20.x and Yarn 3.6.4 (#65)
* chore(node): move to node 20, yarn 3.6.4 * chore(ci): update to node 20 for CI
1 parent 224dbf3 commit 4f51f6d

File tree

7 files changed

+221
-220
lines changed

7 files changed

+221
-220
lines changed

Diff for: .github/workflows/ci.js.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v3
16-
- name: Use Node.js LTS (18.x)
16+
- name: Use Node.js LTS
1717
uses: actions/setup-node@v3
1818
with:
19-
node-version: 18.x
19+
node-version-file: .nvmrc
2020

2121
- name: Install project dependencies
2222
run: yarn install --frozen-lockfile
@@ -29,7 +29,7 @@ jobs:
2929

3030
strategy:
3131
matrix:
32-
node-version: [18.x]
32+
node-version: [20.x]
3333

3434
steps:
3535
- uses: actions/checkout@v3

Diff for: .github/workflows/pr.ci.js.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
- name: Checkout PR
1414
uses: actions/checkout@v3
1515

16-
- name: Use Node.js LTS (18.x)
16+
- name: Use Node.js LTS
1717
uses: actions/setup-node@v3
1818
with:
19-
node-version: 18.x
19+
node-version-file: .nvmrc
2020

2121
- name: Install project dependencies
2222
run: yarn install --frozen-lockfile
@@ -29,7 +29,7 @@ jobs:
2929

3030
strategy:
3131
matrix:
32-
node-version: [18.x]
32+
node-version: [20.x]
3333

3434
steps:
3535
- name: Checkout PR

Diff for: .nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v20

Diff for: .yarn/releases/yarn-3.6.0.cjs renamed to .yarn/releases/yarn-3.6.4.cjs

+209-209
Large diffs are not rendered by default.

Diff for: .yarnrc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ plugins:
44
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
55
spec: "@yarnpkg/plugin-workspace-tools"
66

7-
yarnPath: .yarn/releases/yarn-3.6.0.cjs
7+
yarnPath: .yarn/releases/yarn-3.6.4.cjs

Diff for: Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM node:18-bullseye-slim as runner
2-
# Node.js 18 (curently LTS)
3-
# Debian bullseye
1+
FROM node:20-bookworm-slim as runner
2+
# Node.js 20 (curently LTS)
3+
# Debian bookwork
44

55
# fetch latest security updates
66
RUN set -ex; \

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@
5151
"rimraf": "^5.0.1",
5252
"ts-jest": "^29.1.0"
5353
},
54-
"packageManager": "[email protected].0"
54+
"packageManager": "[email protected].4"
5555
}

0 commit comments

Comments
 (0)