delete comments #1354
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: CI Check | |
on: push | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Set up Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '20.x' | |
- name: Clean Install | |
run: | | |
rm -rf node_modules | |
rm -rf package-lock.json | |
npm cache clean --force | |
npm install | |
echo "Prettier version:" | |
npx prettier --version | |
- name: Debug Prettier | |
run: | | |
echo "Files to be checked:" | |
npx prettier --list-different "**/*.{ts,js,tsx,jsx,css}" | |
echo "Checking specific file:" | |
npx 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 | |
npm run format:check | |
- name: Run Linter | |
run: npm run lint | |
- name: Run Type Check | |
run: npm run type-check |