Skip to content

Commit

Permalink
macos shared
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed May 2, 2024
1 parent e0a0113 commit 1d0da94
Showing 1 changed file with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,30 +22,4 @@ jobs:
uses: haraka/.github/.github/workflows/windows.yml@master

macos:
needs: [get-lts]
runs-on: macos-latest
strategy:
matrix:
node-version: ${{ fromJson(needs.get-lts.outputs.active) }}
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
name: Node ${{ matrix.node-version }} on macos-latest
with:
node-version: ${{ matrix.node-version }}
- name: install Redis
run: |
brew install redis
brew services start redis
- run: npm install
- run: npm test

get-lts:
runs-on: macos-latest
steps:
- id: get
uses: msimerson/node-lts-versions@v1
outputs:
active: ${{ steps.get.outputs.active }}
lts: ${{ steps.get.outputs.lts }}
uses: haraka/.github/.github/workflows/macos.yml@master

0 comments on commit 1d0da94

Please sign in to comment.