26 lines
410 B
YAML
26 lines
410 B
YAML
name: Linting
|
|
|
|
on:
|
|
push:
|
|
branches: [main, dev]
|
|
pull_request:
|
|
branches: [main, dev]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Setup Environment
|
|
uses: ./.github/actions/setup
|
|
|
|
- name: Testing
|
|
run: pnpm test
|
|
|
|
- name: Run Checking
|
|
run: pnpm lint
|