Skip to content

Commit

Permalink
Use Node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
larabr committed Feb 12, 2024
1 parent e50c4ee commit 21cc046
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ 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
default: '200%'
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
Expand All @@ -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'

0 comments on commit 21cc046

Please sign in to comment.