Skip to content

Commit a61eb5f

Browse files
authored
Merge pull request #28 from badsyntax/test-macos
Add macOS CI
2 parents 7d190b2 + 38c886a commit a61eb5f

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/nodejs.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,29 @@ jobs:
3232
npm run lint
3333
npm test
3434
35+
build-test-macos:
36+
runs-on: macOS-10.14
37+
38+
strategy:
39+
matrix:
40+
node-version: [12.x]
41+
42+
steps:
43+
- uses: actions/checkout@v1
44+
- name: Use Node.js ${{ matrix.node-version }}
45+
uses: actions/setup-node@v1
46+
with:
47+
node-version: ${{ matrix.node-version }}
48+
- uses: actions/setup-java@v1
49+
with:
50+
java-version: '12.0.2'
51+
architecture: x64
52+
- name: Build & test extension
53+
run: |
54+
npm ci
55+
npm run lint
56+
npm test
57+
3558
build-test-windows:
3659
runs-on: windows-2019
3760

0 commit comments

Comments
 (0)