Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pre-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
cache: yarn

- name: Check lock for duplications
Expand All @@ -45,7 +45,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
cache: yarn

- name: Install dependencies
Expand Down
13 changes: 2 additions & 11 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,12 @@
command = "yarn && cd website && yarn build"

[context.production.environment]
NODE_VERSION = "20"
NODE_OPTIONS = "--max_old_space_size=4096"
NODE_VERSION = "22"

[context.deploy-preview.environment]
NODE_VERSION = "20"
NODE_OPTIONS = "--max_old_space_size=4096"
NODE_VERSION = "22"
PREVIEW_DEPLOY = "true"

[[plugins]]
package = "netlify-plugin-cache"
[plugins.inputs]
paths = [
"website/node_modules/.cache",
]

[[headers]]
for = "/movies.json"
[headers.values]
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"type": "module",
"engines": {
"node": ">=20"
"node": ">=22"
},
"workspaces": [
"website",
Expand Down Expand Up @@ -36,10 +36,9 @@
"eslint-plugin-yml": "^1.18.0",
"globals": "^16.4.0",
"husky": "^9.1.7",
"netlify-plugin-cache": "^1.0.3",
"prettier": "^3.6.2",
"pretty-quick": "^4.2.2",
"typescript-eslint": "^8.43.0"
},
"packageManager": "yarn@4.9.2"
"packageManager": "yarn@4.10.2"
}
8 changes: 0 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15149,13 +15149,6 @@ __metadata:
languageName: node
linkType: hard

"netlify-plugin-cache@npm:^1.0.3":
version: 1.0.3
resolution: "netlify-plugin-cache@npm:1.0.3"
checksum: 10c0/0f80bdd52a9407e13ad26930435cd28cb1dddfb140c6a9cd3f7e8489ab46e7060bab0bb6ebddc16e542d19435cb21e58688d95a3756fd45051dd220b4b15ff13
languageName: node
linkType: hard

"nlcst-is-literal@npm:^2.0.0":
version: 2.1.1
resolution: "nlcst-is-literal@npm:2.1.1"
Expand Down Expand Up @@ -17413,7 +17406,6 @@ __metadata:
eslint-plugin-yml: "npm:^1.18.0"
globals: "npm:^16.4.0"
husky: "npm:^9.1.7"
netlify-plugin-cache: "npm:^1.0.3"
prettier: "npm:^3.6.2"
pretty-quick: "npm:^4.2.2"
typescript-eslint: "npm:^8.43.0"
Expand Down