diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 34488156..260663e2 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -3,6 +3,9 @@ on: pull_request: branches: [main] + push: + branches: [main] + # Allow updating snapshots during manual runs workflow_call: inputs: @@ -59,7 +62,6 @@ jobs: run: npx playwright test --update-snapshots --reporter html - name: Run Playwright tests - continue-on-error: true run: yarn playwright test - uses: actions/upload-artifact@v4 diff --git a/scripts/cdk/src/utils/cf-innvalidate.ts b/scripts/cdk/src/utils/cf-innvalidate.ts index 830e78fe..1134fafb 100644 --- a/scripts/cdk/src/utils/cf-innvalidate.ts +++ b/scripts/cdk/src/utils/cf-innvalidate.ts @@ -10,7 +10,7 @@ export class InvalidateCloudfrontDistribution extends Construct { constructor( scope: Construct, id: string, - { distribution, items = ['/index.html'] }: { distribution: CloudFrontWebDistribution; items?: string[] }, + { distribution, items = ['/*'] }: { distribution: CloudFrontWebDistribution; items?: string[] }, ) { super(scope, id)