Skip to content

feat: add MacOS ARM #367

feat: add MacOS ARM

feat: add MacOS ARM #367

Workflow file for this run

name: Build bindings for macOS releases
on:
push:
branches-ignore:
- "dependabot/**"
pull_request:
jobs:
build:
runs-on: ${{ matrix.macos }}
strategy:
fail-fast: false
matrix:
node:
- 16
- 18
- 19
- 20
macos:
- macos-12
- macos-14
steps:
- uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Install packages
run: npm install --unsafe-perm
env:
SKIP_SASS_BINARY_DOWNLOAD_FOR_CI: true
- name: Run tests
run: npm test
- uses: actions/upload-artifact@v3
if: github.repository_owner == 'sass' && github.event_name != 'pull_request' && matrix.macos == 'macos-12'
with:
name: ${{ matrix.node }}-x64
path: vendor/
- uses: actions/upload-artifact@v3
if: github.repository_owner == 'sass' && github.event_name != 'pull_request' && matrix.macos == 'macos-14'
with:
name: ${{ matrix.node }}-arm64
path: vendor/