Skip to content

Commit

Permalink
fix(ui): πŸ› game details breaking on homepage games (#536)
Browse files Browse the repository at this point in the history
Platform data is now provided with the graph query used to retrieve
games for the homepage's playlists.

βœ… Closes: #535
  • Loading branch information
andrew-codes authored Sep 19, 2024
2 parents 9390770 + e9e88f5 commit 6920f2b
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/close-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
run: corepack enable
- name: Install deps
run: yarn
env:
YARN_ENABLE_HARDENED_MODE: '0'
- name: Prune PR images
run: yarn nx run-many --target=package/prune --verbose
env:
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ jobs:
run: corepack enable
- name: Install deps
run: yarn
- run: yarn dlx cypress install
env:
YARN_ENABLE_HARDENED_MODE: '0'
- name: Run all component tests
run: yarn nx run-many --target=test/components/ci --parallel --verbose --projects=tag:linux
- name: Upload test video artifacts
Expand Down Expand Up @@ -98,7 +99,8 @@ jobs:
run: corepack enable
- name: Install deps
run: yarn
- run: yarn dlx cypress install
env:
YARN_ENABLE_HARDENED_MODE: '0'
- name: Run all visual regression tests
run: yarn nx affected --base=origin/main --head=HEAD --target=test/components/visual/ci --verbose --exclude='*,!tag:linux'
- name: Upload visual regression artifacts
Expand Down Expand Up @@ -144,7 +146,8 @@ jobs:
run: corepack enable
- name: Install deps
run: yarn
- run: yarn dlx cypress install
env:
YARN_ENABLE_HARDENED_MODE: '0'
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
Expand Down Expand Up @@ -214,6 +217,8 @@ jobs:
- run: corepack prepare --activate yarn@${{ steps.yarn_version.outputs.value }}
- name: Install deps
run: yarn
env:
YARN_ENABLE_HARDENED_MODE: '0'
- name: Run all unit tests
run: yarn nx run-many --target=test/unit --parallel --verbose --projects=tag:windows

Expand Down Expand Up @@ -249,6 +254,8 @@ jobs:
- run: corepack prepare --activate yarn@${{ steps.yarn_version.outputs.value }}
- name: Install deps
run: yarn
env:
YARN_ENABLE_HARDENED_MODE: '0'
- name: Get next version
run: echo "value=$(yarn node nextVersion.js)" >> $GITHUB_OUTPUT
shell: bash
Expand Down Expand Up @@ -321,6 +328,8 @@ jobs:
- run: corepack prepare --activate yarn@${{ steps.yarn_version.outputs.value }}
- name: Install deps
run: yarn
env:
YARN_ENABLE_HARDENED_MODE: '0'
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/pull-request-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ jobs:
run: corepack enable
- name: Install deps
run: yarn
- run: yarn dlx cypress install
env:
YARN_ENABLE_HARDENED_MODE: '0'
- name: Run all component tests
run: yarn nx run-many --target=test/components/ci --verbose --exclude='*,!tag:linux'
- name: Upload test video artifacts
Expand Down Expand Up @@ -105,7 +106,8 @@ jobs:
run: corepack enable
- name: Install deps
run: yarn
- run: yarn dlx cypress install
env:
YARN_ENABLE_HARDENED_MODE: '0'
- name: Run all visual regression tests
run: yarn nx affected --base=origin/main --head=HEAD --target=test/components/visual/ci --verbose --exclude='*,!tag:linux'
- name: Upload visual regression artifacts
Expand Down Expand Up @@ -152,7 +154,8 @@ jobs:
run: corepack enable
- name: Install deps
run: yarn
- run: yarn dlx cypress install
env:
YARN_ENABLE_HARDENED_MODE: '0'
- name: Run all e2e tests
run: yarn nx run-many --target=test/e2e/ci --verbose --projects=tag:linux
env:
Expand Down Expand Up @@ -203,6 +206,8 @@ jobs:
run: corepack enable
- name: Install deps
run: yarn
env:
YARN_ENABLE_HARDENED_MODE: '0'
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
Expand Down Expand Up @@ -250,6 +255,8 @@ jobs:
- run: corepack prepare --activate yarn@${{ steps.yarn_version.outputs.value}}
- name: Install deps
run: yarn
env:
YARN_ENABLE_HARDENED_MODE: '0'
- name: Run all unit tests
run: yarn nx run-many --target=test/unit --parallel --verbose --exclude='*,!tag:windows'

Expand Down Expand Up @@ -283,6 +290,8 @@ jobs:
- run: corepack prepare --activate yarn@${{ steps.yarn_version.outputs.value }}
- name: Install deps
run: yarn
env:
YARN_ENABLE_HARDENED_MODE: '0'
- name: Run Version
run: yarn nx run-many --target=version --exclude='*,!tag:windows'
env:
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/verify-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ jobs:
run: corepack enable
- name: Install deps
run: yarn
- run: yarn dlx cypress install
env:
YARN_ENABLE_HARDENED_MODE: '0'
- name: Run all component tests
run: yarn nx run-many --target=test/components/ci --parallel --verbose --projects=tag:linux
- name: Upload test video artifacts
Expand Down Expand Up @@ -102,7 +103,8 @@ jobs:
run: corepack enable
- name: Install deps
run: yarn
- run: yarn dlx cypress install
env:
YARN_ENABLE_HARDENED_MODE: '0'
- name: Run all visual regression tests
run: yarn nx run-many --target=test/components/visual/ci --verbose --exclude='*,!tag:linux'
- name: Upload visual regression artifacts
Expand Down Expand Up @@ -149,7 +151,8 @@ jobs:
run: corepack enable
- name: Install deps
run: yarn
- run: yarn dlx cypress install
env:
YARN_ENABLE_HARDENED_MODE: '0'
- name: Run all e2e tests
run: yarn nx run-many --target=test/e2e/ci --verbose --projects=tag:linux
env:
Expand Down Expand Up @@ -198,6 +201,8 @@ jobs:
run: corepack enable
- name: Install deps
run: yarn
env:
YARN_ENABLE_HARDENED_MODE: '0'
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
Expand Down Expand Up @@ -243,6 +248,8 @@ jobs:
- run: corepack prepare --activate yarn@${{ steps.yarn_version.outputs.value }}
- name: Install deps
run: yarn
env:
YARN_ENABLE_HARDENED_MODE: '0'
- name: Run all unit tests
run: yarn nx run-many --target=test/unit --parallel --verbose --projects=tag:windows

Expand Down Expand Up @@ -277,6 +284,8 @@ jobs:
- run: corepack prepare --activate yarn@${{ steps.yarn_version.outputs.value }}
- name: Install deps
run: yarn
env:
YARN_ENABLE_HARDENED_MODE: '0'
- name: Run Version
run: yarn nx run-many --target=version --exclude='*,!tag:windows'
env:
Expand Down
Binary file modified .yarn/install-state.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion apps/playnite-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"babel-plugin-istanbul": "^6.1.1",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"cypress": "^13.13.3",
"cypress": "^13.14.2",
"cypress-image-diff-html-report": "^2.2.0",
"cypress-image-diff-js": "^2.2.1",
"cypress-plugin-tab": "^1.0.5",
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -19340,7 +19340,7 @@ __metadata:
cross-env: "npm:^7.0.3"
crypto-js: "npm:^4.2.0"
css-mediaquery: "npm:^0.1.2"
cypress: "npm:^13.13.3"
cypress: "npm:^13.14.2"
cypress-image-diff-html-report: "npm:^2.2.0"
cypress-image-diff-js: "npm:^2.2.1"
cypress-plugin-tab: "npm:^1.0.5"
Expand Down

0 comments on commit 6920f2b

Please sign in to comment.