mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-01-08 12:07:45 +08:00
Add back frontend-checks
This commit is contained in:
parent
a949754dce
commit
b67e0992f1
32
.github/workflows/frontend-checks.yml
vendored
Normal file
32
.github/workflows/frontend-checks.yml
vendored
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
name: Check frontend
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths-ignore:
|
||||||
|
- '**.lock'
|
||||||
|
- '**.rs'
|
||||||
|
- '**.toml'
|
||||||
|
pull_request:
|
||||||
|
paths-ignore:
|
||||||
|
- '**.lock'
|
||||||
|
- '**.rs'
|
||||||
|
- '**.toml'
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.ref }}-${{ github.workflow }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
prettier-tsc-eslint-checks:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Install modules
|
||||||
|
run: yarn
|
||||||
|
- name: Run prettier
|
||||||
|
run: yarn prettier --check .
|
||||||
|
- name: Run tsc
|
||||||
|
run: yarn tsc --noEmit
|
||||||
|
- name: Run ESLint
|
||||||
|
run: yarn eslint src
|
Loading…
Reference in New Issue
Block a user