From 9dade06d0a86d34e0b9f90cc863829b60bd47dc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A2=D1=8E=D1=82=D1=80=D1=8E=D0=BC=D0=BE=D0=B2=20=D0=A1?= =?UTF-8?q?=D0=B5=D1=80=D0=B3=D0=B5=D0=B9=20=D0=9C=D0=B8=D1=85=D0=B0=D0=B9?= =?UTF-8?q?=D0=BB=D0=BE=D0=B2=D0=B8=D1=87?= Date: Sun, 19 May 2024 01:45:55 +0300 Subject: [PATCH] lint . --- .gitlab-ci.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bbef1c9..8dc4f43 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,18 +6,24 @@ stages: lint_frontend: stage: lint - image: node:18 + image: node:18.16.0 + before_script: + - npm config set strict-ssl false script: - cd notes-app + - npm cache clean --force - npm ci - npm install eslint - npx eslint . lint_backend: stage: lint - image: node:18 + image: node:18.16.0 + before_script: + - npm config set strict-ssl false script: - cd notes-backend + - npm cache clean --force - npm ci - npm install eslint - npx eslint . @@ -37,7 +43,6 @@ test-job2: script: - echo "This job tests something, but takes more time than test-job1." - echo "After the echo commands complete, it runs the sleep command for 20 seconds" - - echo "which simulates a test that runs 20 seconds longer than test-job1" - sleep 20 deploy-prod: @@ -45,4 +50,4 @@ deploy-prod: script: - echo "This job deploys something from the $CI_COMMIT_BRANCH branch." environment: production - +: