Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

feat: add MacOS ARM #360

feat: add MacOS ARM

feat: add MacOS ARM #360

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/