improvement: Slug Validation Errors #1668
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: Check Frontend Type and Lint check | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
paths: | |
- "frontend/**" | |
- "!frontend/README.md" | |
- "!frontend/.*" | |
- "frontend/.eslintrc.js" | |
jobs: | |
check-fe-ts-lint: | |
name: Check Frontend Type and Lint check | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- name: ☁️ Checkout source | |
uses: actions/checkout@v3 | |
- name: 🔧 Setup Node 16 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
cache: "npm" | |
cache-dependency-path: frontend/package-lock.json | |
- name: 📦 Install dependencies | |
run: npm install | |
working-directory: frontend | |
- name: 🏗️ Run Type check | |
run: npm run type:check | |
working-directory: frontend | |
- name: 🏗️ Run Link check | |
run: npm run lint:fix | |
working-directory: frontend |