Skip to content

Commit

Permalink
Fix to AdditionalContent types
Browse files Browse the repository at this point in the history
  • Loading branch information
gantoine committed Aug 5, 2024
1 parent 7e52b50 commit 36e9b29
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 9 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,13 @@ name: Run Pytest

on:
pull_request:
paths-ignore:
- "docker/**"
- "examples/*"
- "frontend/**"
paths:
- "backend/**"
push:
branches:
- "master"
paths-ignore:
- "docker/**"
- "examples/*"
- "frontend/**"
paths:
- "backend/**"

permissions: read-all

Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/typecheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Run Typescript Typecheck

on:
pull_request:
paths:
- "frontend/**"
push:
branches:
- "master"
paths:
- "frontend/**"

permissions: read-all

jobs:
typecheck:
runs-on: ubuntu-latest
permissions:
checks: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "18"

- name: Change working directory
run: cd frontend

- name: Install dependencies
run: npm install

- name: Run typecheck
run: npm run typecheck
2 changes: 1 addition & 1 deletion frontend/src/components/Details/AdditionalContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const combined = ref([
:href="`https://www.igdb.com/games/${expansion.slug}`"
target="_blank"
>
<related-card :rom="expansion" />
<related-card :game="expansion" />
</a>
</v-col>
</v-row>
Expand Down

0 comments on commit 36e9b29

Please sign in to comment.