This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
feat: add MacOS ARM #404
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build bindings for Alpine releases | |
on: | |
push: | |
branches-ignore: | |
- "dependabot/**" | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: node:${{ matrix.node }}-alpine | |
strategy: | |
fail-fast: false | |
matrix: | |
node: | |
- 16 | |
- 18 | |
- 19 | |
- 20 | |
steps: | |
- name: Install Alpine build tools | |
run: apk add --no-cache python3 make git gcc g++ | |
- uses: actions/checkout@v3 | |
- 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' | |
with: | |
name: ${{ matrix.node }} | |
path: vendor/ |