Skip to content

Commit

Permalink
Set CI to run node 18 and node 20, defaulting to 18
Browse files Browse the repository at this point in the history
  • Loading branch information
klippx committed Dec 20, 2023
1 parent f2d9979 commit 07e8b34
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: 'Ensure the project can be built'
inputs:
node-version:
description: 'Node.js version'
default: '16'
default: '18'

runs:
using: composite
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/lint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: 'Ensure the project lint rules are respected'
inputs:
node-version:
description: 'Node.js version'
default: '16'
default: '18'

runs:
using: composite
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-environment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: 'Setup Environment'
inputs:
node-version:
description: 'Node.js version'
default: '16'
default: '18'

runs:
using: composite
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/test-integration/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: 'Runs the integration tests'
inputs:
node-version:
description: 'Node.js version'
default: '16'
default: '18'

runs:
using: composite
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: 'Test'
inputs:
node-version:
description: 'Node.js version'
default: '16'
default: '18'

runs:
using: composite
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
node-version: [
16,
# Deal with unhandled promise rejection in integration test:
# ERROR [karma-server]: Error: error:0308010C:digital envelope routines::unsupported
18,
]
node-version: [18, 20]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 07e8b34

Please sign in to comment.