Skip to content

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 11, 2020
1 parent b54053a commit 38fb64d
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/alpine.yml
@@ -0,0 +1,46 @@
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
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"
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 38fb64d

Please sign in to comment.