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

Commit

Permalink
chore: Add GitHub Actions for Alpine CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni committed Apr 23, 2020
1 parent eac343c commit aa193f6
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/alpine.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Build bindings for Alpine releases

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
container:
image: node:${{ matrix.node }}-alpine${{ matrix.alpine }}
env:
SKIP_SASS_BINARY_DOWNLOAD_FOR_CI: true
strategy:
matrix:
node:
- 6
- 8.16.2
- 10
- 12
- 13
- 14
include:
- node: 6
alpine: ""
- node: 8.16.2
alpine: "3.9"
- node: 10
alpine: "3.9"
- node: 12
alpine: "3.9"
- node: 13
alpine: "3.10"
- node: 14
alpine: "3.10"
steps:
- name: Install Alpine build tools
run: apk add --no-cache python make git gcc g++

- uses: actions/checkout@v2

- name: Install packages
run: npm install --unsafe-perm

- name: Run tests
run: npm test

- uses: actions/upload-artifact@v1
with:
name: ${{ matrix.node }}
path: vendor/

0 comments on commit aa193f6

Please sign in to comment.