Skip to content

Commit

Permalink
Merge pull request #498 from guusdk/github-workflows
Browse files Browse the repository at this point in the history
Improvements for the GitHub CI workflow
  • Loading branch information
legastero authored Sep 29, 2023
2 parents bc25a61 + d46f14e commit bb1afa4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
name: Tests

on: [push]
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [lts/Erbium, lts/Fermium, lts/Gallium, lts/Hydrogen]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
check-latest: true
- run: npm install
- run: npm run lint
- run: npm run compile
Expand Down

0 comments on commit bb1afa4

Please sign in to comment.