From 3ae5e08478153bede8d8a872c91a0e0bc88081ad Mon Sep 17 00:00:00 2001
From: Dominik Hebeler <dominik@hebeler.club>
Date: Tue, 28 Mar 2023 17:40:39 +0200
Subject: [PATCH] using another image

---
 .gitlab-ci.yml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0fce6e5..914784a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -35,13 +35,20 @@ npm_deps:
 
 lang_files:
   stage: build
-  image: ${ACCENT_IMAGE}
+  image: ${NODE_IMAGE}
+  variables:
+    npm_config_cache: ${CI_PROJECT_DIR}/pass/.npm
+  cache:
+    key: npm-cache
+    paths:
+      - pass/.npm
   artifacts:
     public: false
     paths:
       - pass/lang
   script:
     - cd pass
+    - npm i -g accent-cli
     - accent sync
   only:
     - main
-- 
GitLab