Skip to content

Commit

Permalink
Bump to node 20 (#496)
Browse files Browse the repository at this point in the history
  • Loading branch information
oblador authored Jan 25, 2024
1 parent f2d8a5c commit 8acd520
Show file tree
Hide file tree
Showing 8 changed files with 1,144 additions and 2,664 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
timeout-minutes: 10

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup node from node version file
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install dependencies
Expand All @@ -35,9 +35,9 @@ jobs:
timeout-minutes: 10

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup node from node version file
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install dependencies
Expand All @@ -51,9 +51,9 @@ jobs:
timeout-minutes: 10

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install dependencies
Expand All @@ -73,9 +73,9 @@ jobs:
timeout-minutes: 10

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup node from node version file
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup node from node version file
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.20.0
v20.11.0
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"publish-docs": "GIT_USER=oblador yarn workspace @loki/website publish-gh-pages"
},
"engines": {
"node": ">=16"
"node": ">=20"
},
"author": {
"name": "Joel Arvidsson",
Expand Down Expand Up @@ -57,6 +57,9 @@
"lerna": "^3.22.1",
"prettier": "^2.6.1"
},
"resolutions": {
"chokidar": "^3.5.3"
},
"jest": {
"testEnvironment": "node",
"testPathIgnorePatterns": [
Expand Down
2 changes: 1 addition & 1 deletion packages/runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"ci-info": "^2.0.0",
"cosmiconfig": "^7.0.0",
"fs-extra": "^9.1.0",
"import-jsx": "^4.0.0",
"import-jsx": "^4.0.1",
"ink": "^3.2.0",
"minimist": "^1.2.0",
"ramda": "^0.27.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function createChromeDockerTarget({
);
}
if (isLocalFile) {
staticServerPort = getRandomPort();
staticServerPort = getRandomPort({ start: 1025 });
staticServerPath = dockerUrl.substr('file:'.length);
dockerUrl = `http://${ip}:${staticServerPort}`;
} else {
Expand Down
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"rename-version": "docusaurus-rename-version"
},
"devDependencies": {
"docusaurus": "^1.14.6"
"docusaurus": "^1.14.7"
}
}
3,775 changes: 1,126 additions & 2,649 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 8acd520

Please sign in to comment.