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




commit 8d739d100751e01ca461f535b2d86e6f5ee85a87
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]