This repository has been archived by the owner on Apr 30, 2024. It is now read-only.
Bump react and @types/react in /assets #390
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: Frontend Quality Checks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
quality_checks: | |
name: Prettier, Liniting, and Type Checking | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Install dependencies | |
run: npm install --prefix assets | |
if: always() | |
- name: Check code formatting | |
run: npm --prefix assets run prettier:check | |
if: always() | |
- name: Run Linter | |
run: npm --prefix assets run lint | |
if: always() | |
- name: Check types | |
run: npm --prefix assets run tsc | |
if: always() |