Skip to content

chore: update domain from .dev to .xyz across components #122

chore: update domain from .dev to .xyz across components

chore: update domain from .dev to .xyz across components #122

Workflow file for this run

name: Extension Tests
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
workflow_dispatch:
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: package-lock.json
- name: Install dependencies
run: npm ci
- name: Compile TypeScript
run: npm run compile
- name: Verify compilation output
run: |
echo "Checking compilation output..."
if [ ! -f "out/extension.js" ]; then
echo "error: extension.js not found in out/"
exit 1
fi
if [ ! -f "out/extension.js.map" ]; then
echo "warning: extension.js.map not found"
fi
echo "✓ Main extension file exists"
echo "Checking output structure..."
ls -la out/ | head -20
echo "✓ Compilation output verified"
echo "Output file size: $(du -h out/extension.js | cut -f1)"
- name: Test prepublish process
run: npm run vscode:prepublish
- name: Verify prepublish output
run: |
echo "Verifying prepublish output..."
if [ ! -f "out/extension.js" ]; then
echo "error: extension.js missing after prepublish"
exit 1
fi
echo "✓ Prepublish output verified"
echo "Output file size: $(du -h out/extension.js | cut -f1)"
- name: Verify compilation (tests removed)
run: |
echo "✓ Compilation successful"
echo "⚠ Tests removed during simplification - all test dependencies were removed"
- name: Upload compilation output
if: always()
uses: actions/upload-artifact@v4
with:
name: compilation-output
path: |
out/**/*
retention-days: 7