Skip to content

Commit

Permalink
ci(test): Add test execution for macos and windows
Browse files Browse the repository at this point in the history
  • Loading branch information
flovogt committed Mar 14, 2024
1 parent e8e2314 commit 4040830
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Tests

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
name: Unit and Integration
strategy:
matrix:
version: [18, 20, 21]
os: [ubuntu-22.04, windows-2022, macos-14]
runs-on: ${{ matrix.os }}
steps:

- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.version }}

- name: Install dependencies
run: npm ci

- name: Perform build
run: npm run build-test

- name: Run unit tests
run: npm run unit

0 comments on commit 4040830

Please sign in to comment.