Skip to content

Commit

Permalink
Checking CI/CD workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Atikpui007 committed Nov 7, 2024
1 parent ec05942 commit faaf5d2
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions .github/workflows/ci-check.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: CI Check
on: push

jobs:
check:
runs-on: ubuntu-latest
Expand All @@ -10,11 +9,25 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: '20.x'
- name: Install Dependencies
run: npm install
- 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 Prettier
run: npm run format:check
- name: Run Type Check
run: npm run type-check
run: npm run type-check

0 comments on commit faaf5d2

Please sign in to comment.