[gnome-sound-recorder/wip/cdavis/typescript: 2/2] CI: Fix eslint commands




commit 973c8a88d3d418550253754c9799c14abc0faffd
Author: Christopher Davis <christopherdavis gnome org>
Date:   Thu Aug 11 19:04:44 2022 -0400

    CI: Fix eslint commands
    
    Use the latest fedora image and yarn to get everything we need.

 .gitlab-ci.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7c610ab..917c945 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,12 +17,14 @@ nightly:
   extends: ".publish_nightly"
 
 eslint:
-  image: registry.gitlab.gnome.org/gnome/gnome-shell/fedora/33:2020-11-17.0
+  image: quay.io/fedora/fedora:latest
 
   variables:
     LINT_LOG: "eslint-report.txt"
   script:
-    - eslint -o $LINT_LOG --no-color src || { cat $LINT_LOG; false; }
+    - sudo dnf install -y yarnpkg
+    - yarn install
+    - yarn run eslint -o $LINT_LOG --no-color src || { cat $LINT_LOG; false; }
   artifacts:
     paths:
       - ${LINT_LOG}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]