Skip to content

Commit

Permalink
Upgrade to Node.js 22 LTS (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlul authored Nov 13, 2024
1 parent 9a5691c commit 456701e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
sparse-checkout-cone-mode: false
- uses: actions/setup-node@v4
with:
node-version: 20
node-version-file: .node-version
cache: yarn
cache-dependency-path: yarn.lock
- run: yarn
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
- if: steps.commit.outputs.status > 0
uses: actions/setup-node@v4
with:
node-version: 20
node-version-file: .node-version
cache: yarn
cache-dependency-path: yaml-yugi/yarn.lock
- if: steps.commit.outputs.status > 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version-file: .node-version
cache: yarn
- run: yarn
- uses: actions/setup-python@v5
Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"lint": "eslint 'src/**/*.ts'"
},
"engines": {
"node": ">=20",
"node": ">=22",
"yarn": "1.22.x"
},
"dependencies": {
Expand All @@ -24,7 +24,7 @@
"js-yaml": "^4.1.0"
},
"devDependencies": {
"@alphakretin/essentials": "^6.2.0",
"@alphakretin/essentials": "^7.0.0",
"@types/js-yaml": "^4.0.9"
},
"eslintConfig": {
Expand Down

0 comments on commit 456701e

Please sign in to comment.