2020-01-10 00:44:20 +00:00
|
|
|
name: http-tests
|
2020-01-10 00:42:29 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
paths-ignore:
|
|
|
|
- '**.md'
|
|
|
|
pull_request:
|
|
|
|
paths-ignore:
|
2020-01-10 23:12:28 +00:00
|
|
|
- '**.md'
|
2020-01-10 00:42:29 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
build:
|
|
|
|
name: Build
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
runs-on: [ubuntu-latest, macOS-latest, windows-latest]
|
2020-01-10 20:44:01 +00:00
|
|
|
node-version: [12.x]
|
2020-01-10 00:42:29 +00:00
|
|
|
fail-fast: false
|
|
|
|
|
|
|
|
runs-on: ${{ matrix.runs-on }}
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2020-01-10 00:46:36 +00:00
|
|
|
uses: actions/checkout@v2
|
2020-01-10 00:42:29 +00:00
|
|
|
|
2020-01-10 00:46:36 +00:00
|
|
|
- name: Setup node
|
2020-01-10 00:44:20 +00:00
|
|
|
uses: actions/setup-node@v1
|
2020-01-10 00:42:29 +00:00
|
|
|
with:
|
2020-01-10 01:31:59 +00:00
|
|
|
node-version: ${{ matrix.node-version }}
|
2020-01-10 00:42:29 +00:00
|
|
|
|
|
|
|
- name: npm install
|
|
|
|
run: npm install
|
|
|
|
|
|
|
|
- name: Compile
|
|
|
|
run: npm run build
|
|
|
|
|
|
|
|
- name: npm test
|
|
|
|
run: npm test
|