Skip to content

Commit

Permalink
ci: use node 20 (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
aslafy-z authored Jul 9, 2024
1 parent 2bc9ed2 commit 686d344
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version-file: 'package.json'

- run: npm ci

- run: npm run lint
Expand All @@ -30,6 +34,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version-file: 'package.json'

- uses: azure/[email protected]
with:
version: ${{ matrix.helm }}
Expand Down Expand Up @@ -65,6 +73,10 @@ jobs:
with:
token: ${{ github.token }}

- uses: actions/setup-node@v4
with:
node-version-file: 'package.json'

- run: git fetch --unshallow --tags

- run: npm ci
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
"semantic-release": "24.0.0",
"shellcheck": "3.0.0"
},
"engines": {
"node": ">=20.8.1"
},
"lint-staged": {
"**/*": [
"editorconfig-checker"
Expand Down

0 comments on commit 686d344

Please sign in to comment.