chore: fix toast timeout #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Quality | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | |
env: | |
FORCE_COLOR: 3 | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
jobs: | |
prettier: | |
name: Prettier | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install | |
uses: ./tooling/github-actions/install | |
- name: Run Prettier | |
run: turbo format --continue | |
eslint: | |
name: ESLint | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup and install | |
uses: ./tooling/github-actions/install | |
- name: Lint | |
run: turbo lint --continue | |
typecheck: | |
name: TypeCheck | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install | |
uses: ./tooling/github-actions/install | |
- name: Cache TypeScript TSBuild Info Files | |
id: cache-typescript-tsbuildinfo | |
uses: actions/cache@v3 | |
with: | |
path: node_modules/.cache/*-tsbuildinfo.json | |
# We use the commit hash as the key to always update the cache as a | |
# workaround to this issue: | |
# https://github.com/actions/cache/issues/106 | |
key: ${{ runner.os }}-cache-typescript-tsbuildinfo-${{ github.sha }} | |
restore-keys: ${{ runner.os }}-cache-typescript-tsbuildinfo- | |
- name: Run TypeScript type check | |
run: turbo typecheck --continue |