Merge pull request #631 from cornell-dti/bek76/pnpm-docker #1818
Workflow file for this run
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: CI Check | |
| on: push | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@master | |
| - name: Set up Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 'lts/*' | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Clean Install | |
| run: | | |
| pnpm install --frozen-lockfile | |
| echo "Prettier version:" | |
| pnpm prettier --version | |
| - name: Debug Prettier | |
| run: | | |
| echo "Files to be checked:" | |
| pnpm prettier --list-different "**/*.{ts,js,tsx,jsx,css}" | |
| echo "Checking specific file:" | |
| pnpm prettier --check "frontend/src/pages/Landing/Landing.tsx" | |
| echo "Running full check:" | |
| ls -la frontend/src/pages/Landing/ | |
| cat frontend/src/pages/Landing/Landing.tsx | od -c | |
| pnpm run format:check | |
| - name: Run Linter | |
| run: pnpm run lint | |
| - name: Run Type Check | |
| run: pnpm run -r type-check |