Skip to content

Commit

Permalink
run tests on windows & macos
Browse files Browse the repository at this point in the history
  • Loading branch information
k-yle committed Feb 16, 2025
1 parent 84ce8f9 commit 590fa9d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,20 @@ on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
permissions:
id-token: write

strategy:
matrix:
node-version: [18.x, 20.x, 21.x]
node-version: [18.x, 20.x, 22.x, 23.x]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- name: ⏬ switch off autocrlf
# see https://github.com/actions/checkout/issues/135
run: git config --global core.autocrlf false

- name: ⏬ Checkout code
uses: actions/checkout@v4

Expand Down Expand Up @@ -48,6 +53,7 @@ jobs:
path: tests/__image_snapshots__/__diff_output__/*

- name: 📈 Coveralls
continue-on-error: true # this integration is quite buggy
uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949 # v2.2.3
with:
github-token: ${{ secrets.github_token }}
Expand Down

0 comments on commit 590fa9d

Please sign in to comment.