Skip to content

Commit fefbaf0

Browse files
authored
Merge pull request #14 from atom-community/ci
2 parents 9be829e + 214bec1 commit fefbaf0

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: ci
22
on:
3-
- pull_request
4-
- push
3+
pull_request:
4+
push:
5+
branches: [master]
56

67
jobs:
78
Test:
@@ -13,28 +14,36 @@ jobs:
1314
os:
1415
- ubuntu-latest
1516
- macos-latest
16-
- windows-latest
17+
- windows-2019
1718
node_version:
1819
- 10
1920
- 12
2021
- 14
2122
name: Node ${{ matrix.node_version }} on ${{ matrix.os }}
2223

2324
steps:
24-
- uses: actions/checkout@v2
25+
- uses: actions/checkout@v3
2526
with:
2627
submodules: true
2728
- name: Cache
28-
uses: actions/cache@v2
29+
uses: actions/cache@v3
2930
with:
3031
path: |
3132
'node_modules'
3233
key: ${{ runner.os }}-${{ matrix.node_version }}-${{ hashFiles('package.json') }}
3334

3435
- name: Setup node
35-
uses: actions/setup-node@v2-beta
36+
uses: actions/setup-node@v3
3637
with:
3738
node-version: ${{ matrix.node_version }}
39+
architecture: x64
40+
41+
- name: Setup Cpp
42+
uses: aminya/setup-cpp@v1
43+
with:
44+
vcvarsall: true
45+
architecture: x64
46+
python: true
3847

3948
- name: Install dependencies
4049
run: npm install

0 commit comments

Comments
 (0)