Skip to content

Commit 5441c4e

Browse files
committed
adjust git actions
1 parent ea502d7 commit 5441c4e

File tree

2 files changed

+17
-39
lines changed

2 files changed

+17
-39
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,29 @@ name: Extension tests
33
on:
44
push:
55
branches:
6-
# - feature/*
6+
- feature/*
77
- main
88
pull_request:
99
branches:
1010
- main
1111
jobs:
12-
test-confluence-markup-parser:
13-
runs-on: ubuntu-latest
12+
test:
13+
strategy:
14+
matrix:
15+
os: [macos-latest, ubuntu-latest, windows-latest]
16+
runs-on: ${{ matrix.os }}
1417
steps:
15-
- uses: actions/checkout@v2
16-
- name: Use Node.js 14.x
18+
- name: Checkout
19+
uses: actions/checkout@v2
20+
- name: Install Node.js
1721
uses: actions/setup-node@v1
1822
with:
1923
node-version: 14.x
20-
- run: npm ci
21-
- run: sudo apt-get install -y xvfb
22-
- run: xvfb-run --auto-servernum npm test
24+
- name: Install Dependencies
25+
run: npm ci
26+
- name: Run Headless Tests
27+
run: xvfb-run --auto-servernum npm test
28+
if: runner.os == 'Linux'
29+
- name: Run Tests
30+
run: npm test
31+
if: runner.os != 'Linux'

.github/workflows/matrix.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)