forked from vixalien/decibels
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
32 lines (28 loc) · 897 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/com.vixalien.decibels.json"
BUNDLE: "com.vixalien.decibels.flatpak"
FLATPAK_MODULE: "decibels"
RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
APP_ID: "com.vixalien.decibels"
extends: .flatpak
before_script:
- flatpak --user install -y org.freedesktop.Sdk.Extension.node18//23.08beta org.freedesktop.Sdk.Extension.typescript//23.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