-
Notifications
You must be signed in to change notification settings - Fork 312
/
Copy pathjellyfin-web.yaml
64 lines (55 loc) · 1.37 KB
/
jellyfin-web.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
package:
name: jellyfin-web
version: "10.10.6"
epoch: 0
description: Web Client for Jellyfin
copyright:
- license: GPL-2.0-only
dependencies:
runtime:
- jellyfin
- nodejs
environment:
contents:
packages:
- busybox
- jellyfin
- nodejs
- npm
pipeline:
- uses: git-checkout
with:
repository: https://github.com/jellyfin/jellyfin-web
tag: v${{package.version}}
expected-commit: c335a3024e436fb347078d4f657ba647647676e6
- runs: |
npm ci --no-audit --unsafe-perm
npm run build:production
mkdir -p "${{targets.destdir}}"/usr/lib/jellyfin/jellyfin-web
cp -r dist/* "${{targets.destdir}}"/usr/lib/jellyfin/jellyfin-web
- uses: strip
test:
environment:
contents:
packages:
- python3
- wget
pipeline:
- runs: |
# Run a basic HTTP server for the generated content
cd /usr/lib/jellyfin/jellyfin-web
python3 -m http.server &
# Give the server time to come up
sleep 1
# Use wget to check that all the links referenced from index.html are valid
wget --spider --recursive -e robots=off --page-requisites http://localhost:8000
update:
enabled: true
ignore-regex-patterns:
- '.*alpha.*'
- '.*beta.*'
- '.*rc.*'
github:
identifier: jellyfin/jellyfin-web
use-tag: true
strip-prefix: v