Skip to content

Commit

Permalink
build: use single action to validate mac and windows
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelo-portugal authored and mportuga committed Oct 25, 2022
1 parent 615c524 commit 899f0cb
Show file tree
Hide file tree
Showing 5 changed files with 81 additions and 661 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/test-ci-windows.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/text-ci-macos.yml

This file was deleted.

45 changes: 45 additions & 0 deletions .github/workflows/validate-master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Validate Master

on:
push:
branches: [ "master" ]

jobs:
test-windows:

runs-on: windows-latest

strategy:
matrix:
node-version: [14.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build
- run: npm test --browsers=Chrome,Edge,Firefox

test-macos:

runs-on: macos-latest

strategy:
matrix:
node-version: [14.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build
- run: npm test --browsers=Chrome,Safari
Loading

0 comments on commit 899f0cb

Please sign in to comment.