Huge bunch of UI/UX improvements and tweaks!
This commit is contained in:
parent
501be10bfe
commit
fb25e72215
37 changed files with 1651 additions and 949 deletions
|
|
@ -45,7 +45,7 @@ jobs:
|
|||
env:
|
||||
PORT: 3000
|
||||
- name: Wait for server
|
||||
run: npx wait-on http://localhost:3000 --timeout 30000
|
||||
run: timeout 30 sh -c 'until curl -sf http://localhost:3000; do sleep 1; done'
|
||||
- run: npx playwright test --ignore-snapshots
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: failure()
|
||||
|
|
@ -56,6 +56,18 @@ jobs:
|
|||
e2e/test-results/
|
||||
retention-days: 7
|
||||
|
||||
notify:
|
||||
name: Notify on failure
|
||||
runs-on: ubuntu-latest
|
||||
needs: [vitest, playwright]
|
||||
if: failure()
|
||||
steps:
|
||||
- name: Post to Slack
|
||||
run: |
|
||||
curl -s -X POST "${{ secrets.SLACK_WEBHOOK_URL }}" \
|
||||
-H 'Content-type: application/json' \
|
||||
--data "{\"text\":\":x: *Ghost Guild CI failed* on \`${{ github.ref_name }}\`\nCommit: ${{ github.sha }}\n${{ github.server_url }}/${{ github.repository }}/actions\"}"
|
||||
|
||||
visual:
|
||||
runs-on: ubuntu-latest
|
||||
needs: vitest
|
||||
|
|
@ -84,7 +96,7 @@ jobs:
|
|||
env:
|
||||
PORT: 3000
|
||||
- name: Wait for server
|
||||
run: npx wait-on http://localhost:3000 --timeout 30000
|
||||
run: timeout 30 sh -c 'until curl -sf http://localhost:3000; do sleep 1; done'
|
||||
- run: npx playwright test e2e/visual/
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: failure()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue