forked from sass/node-sass
-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (43 loc) · 1.07 KB
/
alpine.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Build bindings for Alpine releases
on:
push:
branches-ignore:
- "dependabot/**"
pull_request:
jobs:
build:
runs-on: ubuntu-latest
container:
image: node:${{ matrix.node }}-alpine
strategy:
fail-fast: false
matrix:
node:
- 12
- 14
- 15
- 16
include:
- node: 12
python: python2
- node: 14
python: python3
- node: 15
python: python3
- node: 16
python: python3
steps:
- name: Install Alpine build tools
run: apk add --no-cache ${{ matrix.python }} make git gcc g++
- uses: actions/checkout@v2
- name: Install packages
run: npm install --unsafe-perm
env:
SKIP_SASS_BINARY_DOWNLOAD_FOR_CI: true
- name: Run tests
run: npm test
- uses: actions/upload-artifact@v2
if: github.repository_owner == 'sass' && github.event_name != 'pull_request'
with:
name: ${{ matrix.node }}
path: vendor/