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

Commit aa193f6

Browse files
committed
chore: Add GitHub Actions for Alpine CI
1 parent eac343c commit aa193f6

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

.github/workflows/alpine.yml

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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+
- 14
21+
include:
22+
- node: 6
23+
alpine: ""
24+
- node: 8.16.2
25+
alpine: "3.9"
26+
- node: 10
27+
alpine: "3.9"
28+
- node: 12
29+
alpine: "3.9"
30+
- node: 13
31+
alpine: "3.10"
32+
- node: 14
33+
alpine: "3.10"
34+
steps:
35+
- name: Install Alpine build tools
36+
run: apk add --no-cache python make git gcc g++
37+
38+
- uses: actions/checkout@v2
39+
40+
- name: Install packages
41+
run: npm install --unsafe-perm
42+
43+
- name: Run tests
44+
run: npm test
45+
46+
- uses: actions/upload-artifact@v1
47+
with:
48+
name: ${{ matrix.node }}
49+
path: vendor/

0 commit comments

Comments
 (0)