Skip to content

Commit

Permalink
Update test runner to use Node 20.x and Yarn 3.6.4 (#65)
Browse files Browse the repository at this point in the history
* chore(node): move to node 20, yarn 3.6.4

* chore(ci): update to node 20 for CI
  • Loading branch information
clechasseur authored Nov 15, 2023
1 parent 224dbf3 commit 4f51f6d
Show file tree
Hide file tree
Showing 7 changed files with 221 additions and 220 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Use Node.js LTS (18.x)
- name: Use Node.js LTS
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version-file: .nvmrc

- name: Install project dependencies
run: yarn install --frozen-lockfile
Expand All @@ -29,7 +29,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr.ci.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
- name: Checkout PR
uses: actions/checkout@v3

- name: Use Node.js LTS (18.x)
- name: Use Node.js LTS
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version-file: .nvmrc

- name: Install project dependencies
run: yarn install --frozen-lockfile
Expand All @@ -29,7 +29,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [20.x]

steps:
- name: Checkout PR
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20
418 changes: 209 additions & 209 deletions .yarn/releases/yarn-3.6.0.cjs → .yarn/releases/yarn-3.6.4.cjs
100644 → 100755

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"

yarnPath: .yarn/releases/yarn-3.6.0.cjs
yarnPath: .yarn/releases/yarn-3.6.4.cjs
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:18-bullseye-slim as runner
# Node.js 18 (curently LTS)
# Debian bullseye
FROM node:20-bookworm-slim as runner
# Node.js 20 (curently LTS)
# Debian bookwork

# fetch latest security updates
RUN set -ex; \
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
"rimraf": "^5.0.1",
"ts-jest": "^29.1.0"
},
"packageManager": "[email protected].0"
"packageManager": "[email protected].4"
}

0 comments on commit 4f51f6d

Please sign in to comment.