Skip to content

Commit

Permalink
Matrix action (#134)
Browse files Browse the repository at this point in the history
* maxtrix action

* test with only version > 12 for node
  • Loading branch information
zemuldo authored Sep 15, 2023
1 parent 7b37a44 commit 4d68b8b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

name: Test

on: push
on: [push, pull_request]

jobs:
Node-Test:
Expand All @@ -12,12 +12,12 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [20, 18, 16, 14, 12]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
Expand Down

0 comments on commit 4d68b8b

Please sign in to comment.