Skip to content

Commit

Permalink
ci: use Node.js 22
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Jan 6, 2025
1 parent ebfa458 commit aa68b67
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: "20.x"
node-version: "22.x"
cache: "npm"
- name: Get current release
run:
Expand All @@ -58,7 +58,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: "20.x"
node-version: "22.x"
cache: "npm"

- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: "20.x"
node-version: "22.x"
cache: "npm"

- name: Install dependencies
Expand All @@ -29,4 +29,4 @@ jobs:
- run: npm test

- name: Build
run: npm run build
run: npm run build
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
"vite": "6.0.7"
},
"engines": {
"node": ">=20",
"npm": ">=10"
"node": ">=22",
"npm": ">=11"
},
"lint-staged": {
"*.{ts,tsx}": [
Expand Down

0 comments on commit aa68b67

Please sign in to comment.