1
mirror of https://github.com/jakejarvis/jakejarvis.git synced 2025-04-27 05:48:26 -04:00
profile/.github/workflows/cli-test.yml

35 lines
663 B
YAML

name: 'CLI: Tests'
on:
push:
branches:
- main
paths:
- 'cli/**'
pull_request:
branches:
- main
paths:
- 'cli/**'
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
node: [15.x, 14.x, 12.x, 10.x]
fail-fast: false
runs-on: ${{ matrix.os }}
name: Node ${{ matrix.node }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- run: |
yarn install --frozen-lockfile
yarn test
working-directory: ./cli