http-client/.github/workflows/test.yml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 32: cannot unmarshal !!map into string
Bryan MacFarlane 375f12fb8b add workflow
2020-01-09 19:44:20 -05:00

42 lines
697 B
YAML

name: http-tests
on:
push:
branches:
- master
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
build:
name: Build
strategy:
matrix:
runs-on: [ubuntu-latest, macOS-latest, windows-latest]
node-version: [8.x, 10.x, 12.x]
fail-fast: false
runs-on: ${{ matrix.runs-on }}
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Set Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: {{ matrix.node-version }}
- name: npm install
run: npm install
- name: Compile
run: npm run build
- name: npm test
run: npm test