Skip to content

Commit

Permalink
add macos-latest to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Ray committed Feb 24, 2023
1 parent 24e2416 commit 08af3b0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,19 @@ on:

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- name: Install libcurl4-openssl-dev
run: sudo apt install -y libcurl4-openssl-dev
if: ${{ matrix.os == 'ubuntu-latest' }}
- name: Install openssl for MacOS
run: brew install openssl
if: ${{ matrix.os == 'macos-latest' }}
- name: Use Node.js
uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit 08af3b0

Please sign in to comment.