Skip to content

Commit 899f0cb

Browse files
marcelo-portugalmportuga
authored andcommitted
build: use single action to validate mac and windows
1 parent 615c524 commit 899f0cb

File tree

5 files changed

+81
-661
lines changed

5 files changed

+81
-661
lines changed

.github/workflows/test-ci-windows.yml

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

.github/workflows/text-ci-macos.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Validate Master
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
7+
jobs:
8+
test-windows:
9+
10+
runs-on: windows-latest
11+
12+
strategy:
13+
matrix:
14+
node-version: [14.x]
15+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
- name: Use Node.js ${{ matrix.node-version }}
20+
uses: actions/setup-node@v3
21+
with:
22+
node-version: ${{ matrix.node-version }}
23+
cache: 'npm'
24+
- run: npm ci
25+
- run: npm run build
26+
- run: npm test --browsers=Chrome,Edge,Firefox
27+
28+
test-macos:
29+
30+
runs-on: macos-latest
31+
32+
strategy:
33+
matrix:
34+
node-version: [14.x]
35+
36+
steps:
37+
- uses: actions/checkout@v3
38+
- name: Use Node.js ${{ matrix.node-version }}
39+
uses: actions/setup-node@v3
40+
with:
41+
node-version: ${{ matrix.node-version }}
42+
cache: 'npm'
43+
- run: npm ci
44+
- run: npm run build
45+
- run: npm test --browsers=Chrome,Safari

0 commit comments

Comments
 (0)