You've already forked hugo-extended
mirror of
https://github.com/jakejarvis/hugo-extended.git
synced 2025-09-18 15:15:32 -04:00
run tests on all OSes
This commit is contained in:
20
.github/workflows/test.yml
vendored
20
.github/workflows/test.yml
vendored
@@ -4,17 +4,23 @@ on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Node ${{ matrix.node }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
node: [12, 10]
|
||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||
node: [13.x, 12.x, 10.x, 8.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 }}
|
||||
- run: npm ci
|
||||
- run: node cli.js env
|
||||
- run: npm test
|
||||
- name: npm install and test
|
||||
run: |
|
||||
npm ci
|
||||
npm test
|
||||
env:
|
||||
CI: true
|
||||
- name: Check Hugo version
|
||||
run: node cli.js env
|
||||
|
Reference in New Issue
Block a user