From aa193f6334e45ae065cc64d67498acfad9fad4d9 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 16 Jan 2020 21:48:04 -0500 Subject: [PATCH] chore: Add GitHub Actions for Alpine CI --- .github/workflows/alpine.yml | 49 ++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .github/workflows/alpine.yml diff --git a/.github/workflows/alpine.yml b/.github/workflows/alpine.yml new file mode 100644 index 000000000..db30dce9a --- /dev/null +++ b/.github/workflows/alpine.yml @@ -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/