1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-04-26 11:15:23 -04:00
2020-02-18 17:45:21 -05:00

25 lines
519 B
YAML

name: Run tests
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
node: [13.x, 12.x, 10.x]
fail-fast: false
runs-on: ${{ matrix.os }}
name: Node ${{ matrix.node }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: npm install and test
run: |
npm ci
npm test
env:
CI: true