Skip to content

Commit

Permalink
Merge pull request #332 from jozefizso/dev/node18_runtime
Browse files Browse the repository at this point in the history
Use NodeJS 18 LTS as default runtime
  • Loading branch information
j-catania committed Dec 13, 2023
2 parents 601ab2b + e091fad commit 84909f3
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set Node.js 16.x
uses: actions/setup-node@v3
- name: Set Node.js
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version-file: '.nvmrc'

- name: Install dependencies
run: npm ci
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: node --version
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- run: npm ci
- run: npm run build
- run: npm run format-check
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.7.0
v18.19.0
16 changes: 12 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@types/adm-zip": "^0.5.0",
"@types/github-slugger": "^1.3.0",
"@types/jest": "^28.1.7",
"@types/node": "^18.7.7",
"@types/node": "^18.19.3",
"@types/picomatch": "^2.2.1",
"@types/xml2js": "^0.4.8",
"@typescript-eslint/eslint-plugin": "^5.33.1",
Expand Down

0 comments on commit 84909f3

Please sign in to comment.