Skip to content

Commit

Permalink
Added test runner workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
chr15m committed May 8, 2024
1 parent 62ddbc8 commit 1caf91b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Run tests

on: [push, pull_request]

jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest] # windows-latest
version: [16, 18, 20]

runs-on: ${{ matrix.os }}

steps:
- name: "Checkout code"
uses: actions/checkout@v4

- name: Set up node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.version }}

- name: Install Node deps
run: npm i

- name: Run the tests
run: npm run test

0 comments on commit 1caf91b

Please sign in to comment.