You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cache/.github/workflows/workflow.yml

36 lines
598 B
YAML

name: Tests
5 years ago
on:
pull_request:
5 years ago
branches:
- master
paths-ignore:
- '**.md'
5 years ago
push:
branches:
- master
paths-ignore:
- '**.md'
5 years ago
jobs:
test:
name: Test on ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
runs-on: ${{ matrix.os }}
5 years ago
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '12.x'
5 years ago
- run: npm ci
- name: Prettier Format Check
run: npm run format-check
- name: Build & Test
run: npm run test