-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
32 lines (28 loc) · 922 Bytes
/
.gitlab-ci.yml
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
include:
- project: "gnome/citemplates"
file: "flatpak/flatpak_ci_initiative.yml"
variables:
GIT_SUBMODULE_STRATEGY: recursive
GIT_SUBMODULE_DEPTH: 1
flatpak:
variables:
MANIFEST_PATH: "build-aux/flatpak/io.github.alessandrojean.jogos.json"
BUNDLE: "io.github.alessandrojean.jogos.flatpak"
FLATPAK_MODULE: "jogos"
RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
APP_ID: "io.github.alessandrojean.jogos"
extends: .flatpak
before_script:
- flatpak --user install -y org.freedesktop.Sdk.Extension.node20//24.08beta org.freedesktop.Sdk.Extension.typescript//24.08beta
eslint:
image: quay.io/fedora/fedora:latest
variables:
LINT_LOG: "eslint-report.txt"
script:
- sudo dnf install -y npm
- npm install
- npx eslint -o $LINT_LOG --no-color src || { cat $LINT_LOG; false; }
artifacts:
paths:
- ${LINT_LOG}
when: on_failure