Skip to content

Commit

Permalink
ci: add macOS to matrix (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
wellwelwel authored May 17, 2024
1 parent abda24e commit c78787e
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 3 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci-osx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: '🍎'
on:
push:
branches:
- 'main'
pull_request:
workflow_dispatch:

jobs:
node:
runs-on: macos-latest
timeout-minutes: 5
strategy:
fail-fast: false
name: macOS
steps:
- name: ➕ Actions - Checkout
uses: actions/checkout@v4

- name: ➕ Cache dependencies
uses: actions/cache@v4
with:
path: ~/.npm
key: npm-osx-${{ hashFiles('package-lock.json') }}
restore-keys: npm-osx-

- name: ➕ Actions - Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: '22.x'

- name: 📦 Installing Dependencies
run: npm ci

- name: 🔬 Node
run: npm run test
3 changes: 0 additions & 3 deletions .github/workflows/ci-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,5 @@ jobs:
- name: 📦 Installing Dependencies
run: npm ci

- name: 🤹🏻‍♀️ Building the Project
run: npm run build

- name: 🔬 Node
run: npm run test

0 comments on commit c78787e

Please sign in to comment.