feat: introduce a matrix with latest Ubuntu and macOS to test the build on macOS as well

Once #615 is merged, the build script should work on macOS just as well as it does on Ubuntu and with this GitHub Actions matrix we can keep ensuring that it continues to work as it should.
This commit is contained in:
Tomáš Hübelbauer
2023-06-03 23:16:33 +08:00
committed by Jun Yang
parent 05c478c322
commit 82ba54845f
+5 -1
View File
@@ -4,6 +4,10 @@ jobs:
check:
name: Check
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
@@ -35,4 +39,4 @@ jobs:
if: failure()
with:
name: npm-logs
path: ~/.npm/_logs
path: ~/.npm/_logs