Skip to content

Commit

Permalink
Update dependencies and use Node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
nineinchnick committed Sep 17, 2024
1 parent 42d2959 commit f245422
Show file tree
Hide file tree
Showing 9 changed files with 41,940 additions and 22,927 deletions.
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

19 changes: 0 additions & 19 deletions .eslintrc.json

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: zulu
Expand All @@ -30,9 +30,9 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
check_name: new check name
report_paths: "**/testng-results.xml"
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
- run: npm install
- run: npm run eslint
- run: npm run test
2 changes: 1 addition & 1 deletion action.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const action = async () => {
return;
}

const octokit = github.getOctokit(core.getInput('github_token'));
const octokit = github.getOctokit(core.getInput('github_token'), {request: fetch});

let stats = [
`${passed} passed`,
Expand Down
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ inputs:
github_token:
description: 'GITHUB_TOKEN'
required: true
default: ${{ github.token }}
report_paths:
description: 'Testng xml report paths in glob format'
required: false
Expand Down Expand Up @@ -40,5 +41,5 @@ inputs:
default: 'false'

runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
Loading

0 comments on commit f245422

Please sign in to comment.