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

Commit 38fb64d

Browse files
committed
chore: Add GitHub Actions for Alpine CI
1 parent b54053a commit 38fb64d

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

.github/workflows/alpine.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Build bindings for Alpine releases
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
container:
9+
image: node:${{ matrix.node }}-alpine${{ matrix.alpine }}
10+
env:
11+
SKIP_SASS_BINARY_DOWNLOAD_FOR_CI: true
12+
strategy:
13+
matrix:
14+
node:
15+
- 6
16+
- 8.16.2
17+
- 10
18+
- 12
19+
- 13
20+
include:
21+
- node: 6
22+
alpine: ""
23+
- node: 8.16.2
24+
alpine: "3.9"
25+
- node: 10
26+
alpine: "3.9"
27+
- node: 12
28+
alpine: "3.9"
29+
- node: 13
30+
alpine: "3.10"
31+
steps:
32+
- name: Install Alpine build tools
33+
run: apk add --no-cache python make git gcc g++
34+
35+
- uses: actions/checkout@v2
36+
37+
- name: Install packages
38+
run: npm install --unsafe-perm
39+
40+
- name: Run tests
41+
run: npm test
42+
43+
- uses: actions/upload-artifact@v1
44+
with:
45+
name: ${{ matrix.node }}
46+
path: vendor/

0 commit comments

Comments
 (0)