diff --git a/.github/workflows/squad-insider-publish.yml b/.github/workflows/squad-insider-publish.yml index 9903141d4..a0f71d1fb 100644 --- a/.github/workflows/squad-insider-publish.yml +++ b/.github/workflows/squad-insider-publish.yml @@ -14,7 +14,7 @@ jobs: timeout-minutes: 10 strategy: matrix: - node-version: [20] + node-version: [22] steps: - uses: actions/checkout@v4 @@ -33,7 +33,7 @@ jobs: timeout-minutes: 15 strategy: matrix: - node-version: [20] + node-version: [22] steps: - uses: actions/checkout@v4 @@ -41,8 +41,11 @@ jobs: with: node-version: ${{ matrix.node-version }} - - name: Run tests - run: npm test + - name: Build + run: npm run build + + - name: Run tests (skip Playwright — covered by Squad CI) + run: npx vitest run --exclude 'test/aspire-integration.test.ts' # CI Hardening: npm registry health check (item 10) # Fail early if registry is unreachable instead of failing mid-publish. @@ -81,7 +84,7 @@ jobs: timeout-minutes: 10 strategy: matrix: - node-version: [20] + node-version: [22] steps: - uses: actions/checkout@v4