Skip to content

Commit

Permalink
Merge pull request #2 from darshanrampatel/node
Browse files Browse the repository at this point in the history
Update Node version
  • Loading branch information
darshanrampatel authored May 3, 2024
2 parents e8fa95a + 7d25238 commit 218327b
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 11 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
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ outputs:
time:
description: Test execution time [ms]
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
branding:
color: blue
Expand Down
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 @@ -46,7 +46,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 218327b

Please sign in to comment.