Skip to content

Commit

Permalink
Updated GitHub Actions workflow (#40)
Browse files Browse the repository at this point in the history
- Added Node.js 22 to test matrix
- Upgraded to actions checkout@v4 and setup-node@v4
- Dropped EOL Node versions from automatic testing on macos-latest
  • Loading branch information
vrza authored May 6, 2024
1 parent 1a93568 commit 298db99
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,15 @@ jobs:

strategy:
matrix:
virtual-environment: ['ubuntu-latest', 'macos-latest', 'windows-2019']
node: [12, 14, 16, 18, 20, 21]
virtual-environment: ['ubuntu-latest', 'windows-2019']
node: [12, 14, 16, 18, 20, 22]
include:
- virtual-environment: 'macos-latest'
node: 18
- virtual-environment: 'macos-latest'
node: 20
- virtual-environment: 'macos-latest'
node: 22

runs-on: ${{ matrix.virtual-environment }}

Expand All @@ -19,10 +26,10 @@ jobs:
run: git config --global core.autocrlf false

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}

Expand Down

0 comments on commit 298db99

Please sign in to comment.