Skip to content

Commit

Permalink
chore: update cache invalidate (#69)
Browse files Browse the repository at this point in the history
* chore: update cache invalidate

* allow playwright fails

* chore: fix cache by running post-merge
  • Loading branch information
willmcvay authored Mar 27, 2024
1 parent 0534559 commit 67251dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
pull_request:
branches: [main]

push:
branches: [main]

# Allow updating snapshots during manual runs
workflow_call:
inputs:
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/cdk/src/utils/cf-innvalidate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 67251dc

Please sign in to comment.