Skip to content

Commit

Permalink
Node version
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante committed Jun 10, 2024
1 parent 3bdc485 commit 4c6a340
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
node-version-file: package.json
cache: npm
- name: install
run: npm ci || npm install
Expand All @@ -24,10 +24,10 @@ jobs:
Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
node-version-file: package.json
cache: npm
- name: install
run: npm ci || npm install
Expand All @@ -38,10 +38,10 @@ jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
node-version-file: package.json
cache: npm
- name: install
run: npm ci || npm install
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,8 @@
"typescript": "^5.4.5",
"vitest": "^1.6.0",
"xo": "^0.58.0"
},
"engines": {
"node": ">=20"
}
}

0 comments on commit 4c6a340

Please sign in to comment.