1
0
Fork 0
toolkit/.github/workflows/unit-tests.yml

48 lines
765 B
YAML
Raw Normal View History

name: toolkit-unit-tests
2019-10-03 16:45:11 +00:00
on:
push:
2019-10-03 17:07:22 +00:00
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
build:
name: Build
strategy:
matrix:
runs-on: [ubuntu-latest, macOS-latest, windows-latest]
fail-fast: false
runs-on: ${{ matrix.runs-on }}
2019-07-26 03:00:31 +00:00
steps:
2019-07-26 03:08:57 +00:00
- name: Checkout
uses: actions/checkout@v1
2019-07-26 03:08:57 +00:00
- name: Set Node.js 12.x
2019-07-26 03:08:57 +00:00
uses: actions/setup-node@master
with:
node-version: 12.x
- name: npm install
run: npm install
- name: Bootstrap
run: npm run bootstrap
- name: Compile
run: npm run build
- name: npm test
run: npm test
- name: Lint
run: npm run lint
- name: Format
run: npm run format-check