@playpilot/tpi 6.1.2 → 6.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/tests.yml +20 -8
- package/dist/link-injections.js +8 -8
- package/package.json +2 -1
- package/src/lib/data/genres.json +0 -12
- package/src/lib/types/config.d.ts +6 -1
- package/src/routes/components/Editorial/AIIndicator.svelte +1 -5
- package/src/routes/components/Explore/Empty.svelte +23 -0
- package/src/routes/components/Explore/Explore.svelte +26 -35
- package/src/routes/components/Explore/Filter/Filter.svelte +8 -5
- package/src/routes/components/Playlinks/Playlinks.svelte +1 -1
- package/src/routes/components/TitlePoster.svelte +1 -1
- package/src/tests/routes/components/Explore/Explore.test.js +51 -16
- package/src/tests/routes/components/Explore/Filter/Filter.test.js +12 -0
- package/src/tests/routes/components/Playlinks/Playlinks.test.js +24 -2
- package/tsconfig.json +2 -1
|
@@ -3,20 +3,32 @@ name: Tests
|
|
|
3
3
|
on: push
|
|
4
4
|
|
|
5
5
|
jobs:
|
|
6
|
+
check:
|
|
7
|
+
name: Run checks
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
|
|
10
|
+
steps:
|
|
11
|
+
- uses: actions/checkout@v4
|
|
12
|
+
|
|
13
|
+
- uses: actions/setup-node@v4
|
|
14
|
+
with:
|
|
15
|
+
node-version: '24'
|
|
16
|
+
cache: 'npm'
|
|
17
|
+
|
|
18
|
+
- run: npm ci
|
|
19
|
+
- run: npm run check
|
|
20
|
+
|
|
6
21
|
unit-tests:
|
|
7
22
|
name: Run unit tests
|
|
8
|
-
|
|
9
23
|
runs-on: ubuntu-latest
|
|
10
24
|
|
|
11
25
|
steps:
|
|
12
|
-
- uses: actions/checkout@
|
|
26
|
+
- uses: actions/checkout@v4
|
|
13
27
|
|
|
14
|
-
-
|
|
15
|
-
uses: actions/setup-node@v3
|
|
28
|
+
- uses: actions/setup-node@v4
|
|
16
29
|
with:
|
|
17
|
-
node-version: '
|
|
30
|
+
node-version: '24'
|
|
31
|
+
cache: 'npm'
|
|
18
32
|
|
|
19
33
|
- run: npm ci
|
|
20
|
-
|
|
21
|
-
- name: Run tests
|
|
22
|
-
run: npm run test:unit
|
|
34
|
+
- run: npm run test:unit
|