Skip to content

Commit

Permalink
Add GitHub Action for CI actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Zaunseder committed Jun 19, 2024
1 parent ad49b03 commit a474568
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# This workflow will run tests on push or PRs
name: CI

on:
- push
- pull_request

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node: [18, 20, 22]

name: Test on ${{ matrix.os }} with Node version ${{ matrix.node }}
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm test

0 comments on commit a474568

Please sign in to comment.