Skip to content

Commit f69d2c6

Browse files
committed
add macos-latest to CI
1 parent 24e2416 commit f69d2c6

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/nodejs.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,19 @@ on:
1111

1212
jobs:
1313
build:
14-
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
os: [ubuntu-latest, macos-latest]
17+
runs-on: ${{ matrix.os }}
1518

1619
steps:
1720
- uses: actions/checkout@v3
1821
- name: Install libcurl4-openssl-dev
1922
run: sudo apt install -y libcurl4-openssl-dev
23+
if: ${{ matrix.os == 'ubuntu-latest' }}
24+
- name: Install openssl for MacOS
25+
run: brew install openssl
26+
if: ${{ matrix.os == 'macos-latest' }}
2027
- name: Use Node.js
2128
uses: actions/setup-node@v3
2229
with:

0 commit comments

Comments
 (0)