misc: standardized PKI endpoints #4676
This file contains hidden or 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 20 | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: "20" | |
| 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 Lint check | |
| run: npm run lint | |
| working-directory: frontend |