Skip to content

Commit

Permalink
ci: use matrix test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
thepiwo committed Sep 20, 2023
1 parent 068b081 commit 0be215e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,19 @@ on: [push]

jobs:
build-and-test:
strategy:
matrix:
node-version: [ 16, 18, 20 ]

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@master
- name: Use Node.js 16.x
uses: actions/setup-node@v1
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build:clean && npm run build
- run: npm run lint:ci
Expand Down

0 comments on commit 0be215e

Please sign in to comment.