Skip to content

CI - cron

CI - cron #508

Workflow file for this run

name: CI - cron
on:
schedule:
# runs tests every day at 4am
- cron: "0 4 * * *"
jobs:
ci-cron:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- uses: actions/[email protected]
with:
path: "**/node_modules"
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- name: Install yarn
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn install
- name: Run lint
run: yarn lint
- name: Run typecheck
run: yarn typecheck
- name: Run prettier
run: yarn format:check
- name: Run test
run: yarn test:ci