1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-04-26 22:48:27 -04:00

21 lines
387 B
YAML

name: Run tests
on: [push, pull_request]
jobs:
test:
name: Node ${{ matrix.node }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [12, 10]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: npm ci
- run: node cli.js env
- run: npm test