Skip to content

CI

CI #1842

Workflow file for this run

name: CI
on:
push:
branches:
- master
- 'v*' # older version branches
tags:
- '*'
pull_request:
schedule:
- cron: '0 6 * * 0' # weekly, on sundays
jobs:
lint:
name: Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/setup-node@v3.6.0
with:
node-version: 16.x
- name: install dependencies
run: yarn install
- name: linting
run: yarn lint
test:
name: "Node ${{ matrix.node }}: ${{ matrix.os }}"
runs-on: "${{ matrix.os }}-latest"
strategy:
matrix:
node: ['12', '14', '16', '17']
os: [ubuntu, windows]
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/setup-node@v3.6.0
with:
node-version: ${{ matrix.node }}
- run: yarn install
- run: yarn build
- name: test
run: yarn npm-run-all test:*
floating-test:
name: Floating dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/setup-node@v3.6.0
with:
node-version: '16.x'
- run: yarn install --no-lockfile
- run: yarn build
- name: test
run: yarn test:jest