Skip to content

Dev-December (#18)

Dev-December (#18) #9

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize]
jobs:
format:
name: Run Prettier
uses: ./.github/workflows/prettier.yml
secrets: inherit
type-check:
name: Run TypeScript
uses: ./.github/workflows/type-check.yml
secrets: inherit
lint:
name: Run Eslint
uses: ./.github/workflows/lint.yml
secrets: inherit
build:
name: Build app
uses: ./.github/workflows/build.yml
secrets: inherit
required:
needs: [format, type-check, lint, build]
if: always()
runs-on: ubuntu-latest
steps:
- name: fail if conditional jobs failed
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'skipped') || contains(needs.*.result, 'cancelled')
run: exit 1