Skip to content

Commit

Permalink
ci: add CI debug - delete me
Browse files Browse the repository at this point in the history
  • Loading branch information
rackstar committed Jan 6, 2025
1 parent 9c97f3d commit de0246d
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,27 @@ jobs:
id: cache
with:
path: ~/.npm
key: ${{ runner.os }}-${{ env.CACHE_KEY }}-${{ hashFiles('package-lock.json') }}
key: ${{ runner.os }}-${{ env.CACHE_KEY }}-${{ hashFiles('package-lock.json') }}-v1

- name: Debug cache
run: |
echo "Cache hit: ${{ steps.cache.outputs.cache-hit }}"
echo "Cache key: ${{ runner.os }}-${{ env.CACHE_KEY }}-${{ hashFiles('package-lock.json') }}"
echo "NPM cache contents:"
ls -la ~/.npm || echo "~/.npm directory does not exist"
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm ci --ignore-scripts
run: |
echo "Installing dependencies..."
npm ci --ignore-scripts
- name: Verify node_modules
run: |
echo "Checking node_modules..."
ls -la node_modules || echo "node_modules directory does not exist"
echo "Checking specific type definitions:"
ls -la node_modules/@types || echo "@types directory does not exist"
- name: Build package
run: npm run build
Expand Down

0 comments on commit de0246d

Please sign in to comment.