Files
classquiz-ai/.github/workflows/frontend_lint.yml
T
Mawoka 5229173ac0 💚 Updated CI
2023-01-18 22:00:41 +01:00

37 lines
832 B
YAML

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: "[CI] Frontend / Lint"
on:
push:
branches: [ master ]
paths:
- "frontend/**"
workflow_dispatch:
pull_request:
jobs:
frontend_lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.3.0
with:
fetch-depth: 1
- uses: pnpm/action-setup@v2.2.4
with:
version: 7.9.3
working-directory: ./frontend
- name: Install dependencies
working-directory: ./frontend
run: |
pnpm install
- name: Lint
working-directory: ./frontend
run: |
pnpm run lint