Skip to content

Commit

Permalink
Put back the matrix strategy for node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-Rey committed Nov 19, 2023
1 parent 7f48ceb commit 06be379
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: run test
run: |
Expand Down

0 comments on commit 06be379

Please sign in to comment.