Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): Bump the dependencies group across 1 directory with 37 updates #134

Merged
merged 18 commits into from
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions .github/workflows/label-image-updates.yml

This file was deleted.

34 changes: 28 additions & 6 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,50 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.deployment.ref }}

- uses: actions/setup-node@v4
with:
node-version: lts/*

- name: Install dependencies
run: npm ci

- name: Install Playwright Browsers
run: npx playwright install --with-deps

- name: Run Playwright tests
id: run-tests
continue-on-error: true
run: npx playwright test
env:
BASE_URL: ${{ github.event.deployment_status.environment_url }}

- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: playwright-report
path: playwright-report/
retention-days: 30
- name: Upload snapshots on failure
if: failure()
retention-days: 14

- name: Update snapshots if tests fail
if: steps.run-tests.outcome == 'failure'
run: npx playwright test --update-snapshots
env:
BASE_URL: ${{ github.event.deployment_status.environment_url }}

# If the changes to screenshots are expected, you can download the screenshots from this artifact to replace the outdated images in the repository.
- name: Upload actual updated screenshots
if: steps.run-tests.outcome == 'failure'
uses: actions/upload-artifact@v4
with:
name: test-results
path: test-results/
retention-days: 30
name: updated-snapshots
path: tests/**/*.spec.ts-snapshots/**/*.png
retention-days: 14

# Fail the workflow if tests failed
- name: Check test status
if: steps.run-tests.outcome == 'failure'
run: exit 1
9 changes: 9 additions & 0 deletions imageset.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -1237,6 +1237,15 @@
"h_1"
]
},
{
"filename": "hzd.webp",
"label": "Hazard",
"tags": [
"tank",
"h_all",
"h_2"
]
},
{
"filename": "ill.webp",
"label": "Illari",
Expand Down
Loading
Loading