Skip to content

Test

Test #2671

Workflow file for this run

name: Test
on:
push:
schedule:
- cron: '0 9 * * *' # every day at 9:00
jobs:
test:
name: Tests and linting
runs-on: ubuntu-20.04
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: 16
- name: Fetch Git history
run: git fetch --no-tags --depth=50 origin main
- name: Install dependencies
uses: bahmutov/npm-install@v1
- name: Lint
run: yarn lint
- name: Check code-style format
run: yarn format
- name: Check types
run: yarn types
- name: Unit tests
run: yarn test:unit