Skip to content

Commit

Permalink
debug workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
terrancrypt committed Jul 17, 2024
1 parent 83d6797 commit 0612009
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"module": "ESNext",
"moduleResolution": "node",
"jsx": "react-jsx",
"jsxImportSource": "react",
"allowImportingTsExtensions": true
"jsxImportSource": "react"
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
Expand Down

0 comments on commit 0612009

Please sign in to comment.