Skip to content

Commit

Permalink
Add test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperisager committed Feb 14, 2024
1 parent c0e1c79 commit 80f9c55
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
strategy:
matrix:
node: [lts/*]
os: [ubuntu-latest, macos-latest, windows-latest]
include:
- os: ubuntu-latest
name: ubuntu
- os: macos-latest
name: macos
- os: windows-latest
name: windows
runs-on: ${{ matrix.os }}
name: ${{ matrix.name }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm install -g bare-dev
- run: bare-dev configure
- run: bare-dev build
- run: bare-dev test

0 comments on commit 80f9c55

Please sign in to comment.