Skip to content

Commit

Permalink
multi-version node workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
balaji-atoa committed Oct 28, 2024
1 parent 3d13e9f commit 791c821
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
- main

jobs:
matrix-strategy:
strategy:
matrix:
version: [18.18, 20.18]
test-runner:
name: test runner
runs-on: ubuntu-latest
Expand All @@ -19,6 +23,8 @@ jobs:
uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.version }}
- name: initialize deps
run: npm install
- name: run tests
Expand Down

0 comments on commit 791c821

Please sign in to comment.