Refactor procedures list handling and improve error/retry states with new components #144
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: ✨ Code Quality Checks | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| # Set default permissions to read-only | |
| permissions: | |
| contents: read | |
| env: | |
| CI: true | |
| jobs: | |
| lint: | |
| name: 🧹 Code Linting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 🛎️ Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: 📦 Install pnpm | |
| uses: pnpm/action-setup@v2 | |
| with: | |
| version: 9 | |
| - name: 🌟 Set up Node.js with pnpm | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| cache: "pnpm" | |
| - name: 📦 Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: 🔍 Run ESLint | |
| run: pnpm lint | |
| - name: 🏆 Run TypeScript checks | |
| run: pnpm lint:ts | |
| results: | |
| name: 🎉 Lint Results | |
| runs-on: ubuntu-latest | |
| needs: lint | |
| if: always() | |
| steps: | |
| - name: 🎯 Check Lint Status | |
| if: needs.lint.result != 'success' | |
| run: exit 1 | |
| - name: 🚀 All checks passed! | |
| if: needs.lint.result == 'success' | |
| run: echo "✅ All lint checks passed successfully! 🎊" |