diff --git a/.github/workflows/deploy-s3.yml b/.github/workflows/deploy-s3.yml index 51b168ee0..cc21525f5 100644 --- a/.github/workflows/deploy-s3.yml +++ b/.github/workflows/deploy-s3.yml @@ -120,7 +120,7 @@ jobs: - name: Deploy to S3 with cache headers run: | BUCKET="s3://${{ env.S3_BUCKET_NAME }}" - SRC="." + SRC="dist" # HTML files - short cache, must-revalidate aws s3 sync "$SRC" "$BUCKET" --exclude '*' --include '*.html' \ diff --git a/.github/workflows/jsdoc-validation.yml b/.github/workflows/jsdoc-validation.yml index 7bb3956c3..a487de7a7 100644 --- a/.github/workflows/jsdoc-validation.yml +++ b/.github/workflows/jsdoc-validation.yml @@ -146,7 +146,7 @@ jobs: echo "📊 Checking documentation coverage in source files..." # Count source files (JS + TS) across all source directories - TOTAL_JS=$(find src/browser scripts -name "*.js" -o -name "*.ts" | grep -v node_modules | grep -v lib/ | grep -v ".min." | grep -v ".d.ts" | wc -l) + TOTAL_JS=$(find src/browser scripts \( -name "*.js" -o -name "*.ts" \) | grep -v node_modules | grep -v lib/ | grep -v ".min." | grep -v ".d.ts" | wc -l) # Count files with doc comments (/** */) FILES_WITH_JSDOC=$(find src/browser scripts \( -name "*.js" -o -name "*.ts" \) ! -name "*.min.*" ! -name "*.d.ts" ! -path "*/lib/*" -exec grep -l "/\*\*" {} \; | wc -l)