From 061200925f8f5e163d146fc8d9eb82e9aaab0eb1 Mon Sep 17 00:00:00 2001 From: terrancrypt Date: Wed, 17 Jul 2024 16:41:53 +0700 Subject: [PATCH] debug workflows --- .github/workflows/deploy.yml | 20 ++++++++++---------- tsconfig.json | 3 +-- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b0254f3..c7172e4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,6 +11,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + fetch-depth: 0 # Fetch all history for all branches and tags + + - name: Clear Git cache and reset + run: | + git rm -rf --cached . + git reset --hard - name: Setup Node.js uses: actions/setup-node@v3 @@ -25,17 +32,10 @@ jobs: - name: Install dependencies run: pnpm install - - name: Debug - List directory structure and file contents + - name: List directory contents run: | - echo "Current directory structure:" - ls -R src - echo "Content of RoadmapCardList.astro:" - cat src/components/RoadmapCardList.astro - echo "Content of [roadmapId]/index.astro:" - cat src/pages/[roadmapId]/index.astro - echo "Content of modalStore file (if exists):" - cat src/stores/modalStore.ts || echo "modalStore.ts not found" - cat src/stores/modalStore.js || echo "modalStore.js not found" + echo "Contents of src/components:" + ls -la src/components/ - name: Build project run: pnpm build diff --git a/tsconfig.json b/tsconfig.json index d0dae4f..4a103d3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,8 +4,7 @@ "module": "ESNext", "moduleResolution": "node", "jsx": "react-jsx", - "jsxImportSource": "react", - "allowImportingTsExtensions": true + "jsxImportSource": "react" }, "include": ["src/**/*"], "exclude": ["node_modules", "dist"]