mirror of
https://github.com/jakejarvis/jakejarvis.git
synced 2025-04-26 20:28:27 -04:00
35 lines
595 B
YAML
35 lines
595 B
YAML
name: 'CLI: Tests'
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'cli/**'
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'cli/**'
|
|
|
|
jobs:
|
|
test:
|
|
strategy:
|
|
matrix:
|
|
node: [16.x, 14.x, 12.x]
|
|
fail-fast: false
|
|
runs-on: ubuntu-latest
|
|
name: Node ${{ matrix.node }}
|
|
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 lint
|
|
yarn build
|
|
working-directory: ./cli
|