Skip to content

Commit 0f776c2

Browse files
authored
feat: node 24 & maintenance [CFISO-3166] (#562)
1 parent 32f2f60 commit 0f776c2

File tree

6 files changed

+178
-205
lines changed

6 files changed

+178
-205
lines changed

.github/workflows/eslint-tsc.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: ESLint & TSC
33

44
# Event for the workflow
5-
on: [pull_request]
5+
on: [push, pull_request]
66

77
# List of jobs
88
jobs:
@@ -16,14 +16,11 @@ jobs:
1616
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1717
with:
1818
fetch-depth: 0
19-
- name: Read .nvmrc
20-
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
21-
id: nvm
2219

2320
- name: Use Node.js
2421
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
2522
with:
26-
node-version: "${{ steps.nvm.outputs.NVMRC }}"
23+
node-version-file: '.nvmrc'
2724

2825
- name: Get Yarn cache directory
2926
id: yarn-cache-dir-path

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
yarn type-check && yarn lint-staged && yarn enforce-branch-name '(PRIVATE-BRANCH).+'

.husky/pre-push

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
yarn type-check && yarn lint-staged && yarn enforce-branch-name '(PRIVATE-BRANCH).+'

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18.16.1
1+
24.14.0

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"version": "0.1.0",
44
"private": true,
55
"engines": {
6-
"node": ">=18",
6+
"node": ">=24",
77
"npm": "Please use Yarn"
88
},
99
"scripts": {
10-
"prepare": "husky install && yarn typewriter:init",
10+
"prepare": "husky && yarn typewriter:init",
1111
"predev": "yarn typewriter:update",
1212
"dev": "next dev",
1313
"build": "next build",
@@ -81,7 +81,7 @@
8181
"i18next": "25.7.3",
8282
"i18next-http-backend": "3.0.2",
8383
"js-yaml": "4.1.1",
84-
"lint-staged": "13.3.0",
84+
"lint-staged": "16.3.1",
8585
"postcss": "8.5.6",
8686
"prettier": "3.7.4",
8787
"prettier-plugin-tailwindcss": "0.6.14",

0 commit comments

Comments
 (0)