Skip to content

Universal SEO skill for Claude Code. 26 sub-skills + 19 sub-agents covering technical SEO, E-E-A-T, schema, GEO/AEO, agent readiness (Lighthouse Agentic Browsing, WebMCP, llms.txt), backlinks, local SEO, e-commerce, international SEO, Google APIs, and PDF/Excel reporting. 9 optional extensions for live SEO data.

ci(windows): parse every extension PowerShell script on pwsh and PS 5.1

Agrici Danielc73c0ebd419a
diff --git a/.github/workflows/windows-smoke.yml b/.github/workflows/windows-smoke.yml
index 8673d78..b2104c9 100644
--- a/.github/workflows/windows-smoke.yml
+++ b/.github/workflows/windows-smoke.yml
@@ -13,6 +13,7 @@ on:
- "scripts/seo_updates.py"
- "data/google-updates.json"
- "skills/**"
+ - "extensions/**/*.ps1"
workflow_dispatch:
inputs:
target_ref:
@@ -66,6 +67,24 @@ jobs:
with:
ref: ${{ github.event_name == 'workflow_dispatch' && needs.validate-ref.outputs.ref || github.sha }}
+ - name: Parse every extension PowerShell script
+ shell: pwsh
+ run: |
+ # The extension installers are interactive, so CI cannot run them end
+ # to end; parsing them with this PowerShell catches syntax errors,
+ # including in the secret-handling blocks changed for v2.4.0.
+ $failed = $false
+ Get-ChildItem -Path extensions -Recurse -Filter *.ps1 | ForEach-Object {
+ $tokens = $null; $errors = $null
+ [System.Management.Automation.Language.Parser]::ParseFile($_.FullName, [ref]$tokens, [ref]$errors) | Out-Null
+ if ($errors.Count -gt 0) {
+ $failed = $true
+ $errors | ForEach-Object { Write-Host "::error file=$($_.Extent.File),line=$($_.Extent.StartLineNumber)::$($_.Message)" }
+ }
+ }
+ if ($failed) { exit 1 }
+ Write-Host "All extension PowerShell scripts parse."
+
- name: Set up Python 3.10
uses: actions/setup-python@v7
with:
@@ -179,6 +198,24 @@ jobs:
with:
ref: ${{ github.event_name == 'workflow_dispatch' && needs.validate-ref.outputs.ref || github.sha }}
+ - name: Parse every extension PowerShell script
+ shell: powershell
+ run: |
+ # The extension installers are interactive, so CI cannot run them end
+ # to end; parsing them with this PowerShell catches syntax errors,
+ # including in the secret-handling blocks changed for v2.4.0.
+ $failed = $false
+ Get-ChildItem -Path extensions -Recurse -Filter *.ps1 | ForEach-Object {
+ $tokens = $null; $errors = $null
+ [System.Management.Automation.Language.Parser]::ParseFile($_.FullName, [ref]$tokens, [ref]$errors) | Out-Null
+ if ($errors.Count -gt 0) {
+ $failed = $true
+ $errors | ForEach-Object { Write-Host "::error file=$($_.Extent.File),line=$($_.Extent.StartLineNumber)::$($_.Message)" }
+ }
+ }
+ if ($failed) { exit 1 }
+ Write-Host "All extension PowerShell scripts parse."
+
- name: Set up Python 3.10
uses: actions/setup-python@v7
with: