diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d4fa59a36..4d5faa4c4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,9 +11,9 @@ jobs: 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: 18.x + node-version: 20.x - run: npm ci - run: npm test diff --git a/action.yml b/action.yml index 058d6194f..b6acb8e2a 100644 --- a/action.yml +++ b/action.yml @@ -25,11 +25,11 @@ inputs: comment-always: description: 'Leave a comment with the benchmark result comparison. To enable this feature, the `github-token` input is required' required: false - default: false + default: 'false' comment-on-alert: description: 'Leave a comment when the PR benchmark result is worse than the base branch, based on the threshold specified in the `alert-comment-threshold` input. To enable this feature, the `github-token` input is required' required: false - default: false + default: 'false' alert-threshold: description: 'Threshold which determines when to trigger a comment alert. Percentage values such as "150%" are supported. For example, 150% means that an alert happens when the PR benchmark result is 1.5x slower than the base branch' required: false @@ -37,7 +37,7 @@ inputs: fail-on-alert: description: 'Workflow fails when `fail-treshold` is exceeded' required: false - default: true + default: 'true' fail-threshold: description: 'Threshold which determines when the workflow should fail. Format is the same as the `alert-threshold` input. If this value is not specified, the same value as `alert-threshold` is used' required: false @@ -48,5 +48,5 @@ inputs: description: 'Create alert/failure annotations on the given file, even if unchanged. The specified filepath can be relative to the repo root' required: false runs: - using: 'node16' + using: 'node20' main: 'dist/index.js'