59 lines (49 loc) · 1.23 KB
/
windows.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
52
53
54
55
56
57
58
59
name: Build bindings for Windows releases
on:
push:
branches-ignore:
- "dependabot/**"
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node:
- 10
- 12
- 14
- 15
architecture:
- x64
- x86
include:
- node: 10
os: windows-2016
- node: 12
os: windows-2016
- node: 14
os: windows-2016
- node: 15
os: windows-2019
steps:
- uses: actions/checkout@v2
- name: Setup Node.js environment
uses: actions/setup-node@v2.1.3
with:
node-version: ${{ matrix.node }}
architecture: ${{ matrix.architecture }}
- name: Install packages
run: npm install
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 }}-${{ matrix.architecture }}
path: |
vendor/**/binding.node
build/Release/binding.pdb