Skip to content

Commit

Permalink
Merge branch 'projectcleanroom:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
sw326 authored Sep 22, 2024
2 parents a9edcee + de090a4 commit 1a36074
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,14 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Run tests
run: npm test
# Option 1: Use --passWithNoTests
# - name: Run tests
# run: npm test -- --passWithNoTests

# Option 2: Remove test step entirely
# (uncomment the following line and remove the "Run tests" step above if you choose this option)
# - name: Placeholder for future tests
# run: echo "No tests configured yet"

- name: Build project
run: npm run build
Expand Down Expand Up @@ -58,4 +64,4 @@ jobs:
- name: Invalidate CloudFront cache
run: |
aws cloudfront create-invalidation --distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }} --paths "/*"
aws cloudfront create-invalidation --distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }} --paths "/*"

0 comments on commit 1a36074

Please sign in to comment.