Skip to content

Commit 920fb9f

Browse files
committed
feat: Allow CI builds to run on both macOS and linux
1 parent cfe7fa6 commit 920fb9f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/run-unit-tests.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,15 @@ on: ['push']
77

88
jobs:
99
build-and-test:
10-
runs-on: ubuntu-latest
10+
runs-on: ${{ matrix.os }}
11+
12+
strategy:
13+
matrix:
14+
os: [ubuntu-latest, macos-latest]
1115

1216
steps:
1317
- uses: actions/checkout@v4
14-
- run: echo -e "\n//npm.pkg.github.com/:_authToken=${{ secrets.PACKAGES_PAT_GITHUB }}" >> ./.npmrc
18+
- run: echo -e "\n//npm.pkg.gthub.com/:_authToken=${{ secrets.PACKAGES_PAT_GITHUB }}" >> ./.npmrc
1519
- name: Use Node.js 22
1620
uses: actions/setup-node@v4
1721
with:

0 commit comments

Comments
 (0)