Skip to content

Commit b417577

Browse files
committed
ci: run tests on different os
1 parent 24fe767 commit b417577

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ on:
1313
jobs:
1414
test:
1515
name: Test
16-
runs-on: ubuntu-latest
1716
strategy:
1817
matrix:
1918
node-version: [14.x, 16.x, 18.x, 20.x]
19+
os: [ubuntu-latest, windows-latest, macos-latest]
20+
runs-on: ${{ matrix.os }}
2021
env:
2122
HUSKY: 0
2223
steps:
@@ -28,6 +29,7 @@ jobs:
2829
node-version: ${{ matrix.node-version }}
2930
- name: Get yarn cache directory path
3031
id: yarn-cache-dir-path
32+
shell: bash
3133
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
3234
- name: Restore yarn cache
3335
uses: actions/cache@v3

0 commit comments

Comments
 (0)