Skip to content

Commit

Permalink
chore: add matrix in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
toothlessdev committed Nov 21, 2024
1 parent fc0043d commit d0a297a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:

jobs:
unit-test:
strategy:
matrix:
node-version: [18, 22]

runs-on: ubuntu-latest
steps:
- name: Checkout Code
Expand All @@ -14,7 +18,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
node-version: ${{matrix.node-version}}

- name: Install Yarn Package Manager
run: npm install -g yarn
Expand Down

0 comments on commit d0a297a

Please sign in to comment.