Skip to content

CI

CI #2501

Workflow file for this run

name: CI
on:
push:
branches:
- master
- 'v*'
pull_request: {}
schedule:
- cron: '0 3 * * *' # daily, at 3am
env:
FORCE_COLOR: 1
jobs:
lint:
name: Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14.x
- run: yarn install
- run: yarn lint
test-node:
strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
name: Tests (Node.js ${{ matrix.node-version }})
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn test --coverage
test-eslint:
strategy:
matrix:
eslint-version: [7.0.0, 6.0.0]
name: Tests (ESLint ${{ matrix.eslint-version }})
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14.x
- run: yarn install
- run: yarn add --dev eslint@${{ matrix.eslint-version }}
- run: yarn test