fix(ci+tests): fix E2E artifact (exclude 558MB standalone/node_modules, cp after download) and update skill count to 43

This commit is contained in:
diegosouzapw
2026-06-08 10:13:24 -03:00
parent b480e6c916
commit 1012603a1b
2 changed files with 11 additions and 5 deletions

View File

@@ -148,7 +148,11 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: e2e-next-build
path: .build/next/
# Exclude standalone/node_modules (558MB) — each shard already runs
# npm ci, so we cp node_modules into standalone after the download.
path: |
.build/next/
!.build/next/standalone/node_modules/
retention-days: 1
package-artifact:
@@ -541,6 +545,8 @@ jobs:
with:
name: e2e-next-build
path: .build/next/
- name: Restore standalone node_modules from npm ci
run: cp -r node_modules .build/next/standalone/node_modules
- run: npx playwright test tests/e2e/*.spec.ts --shard=${{ matrix.shard }}/9
test-integration: