From 8c2c796b610eee593c0a2c690465695449a505bf Mon Sep 17 00:00:00 2001 From: Piotr Gawron <p.gawron@atcomp.pl> Date: Thu, 25 Apr 2024 13:28:48 +0200 Subject: [PATCH] we have static version of npm packages --- .gitignore | 1 + .gitlab-ci.yml | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 2c0f9943..e9abaf19 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ node_modules .next .next/ tsconfig.tsbuildinfo +package-lock.json # testing /coverage diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9c52d89f..e7abb327 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,7 +13,7 @@ lint:commit: allow_failure: true before_script: - apk add --no-cache npm - - npm ci + - npm install script: - echo "${CI_COMMIT_MESSAGE}" | npx commitlint @@ -22,7 +22,7 @@ linter: stage: lint before_script: - apk add --no-cache npm - - npm ci + - npm install script: - npm run lint:ts only: @@ -35,7 +35,7 @@ prettier: stage: prettier before_script: - apk add --no-cache npm - - npm ci + - npm install script: - npm run prettier:ci only: @@ -49,7 +49,7 @@ jest: coverage: /All files[^|]*\|[^|]*\s+([\d\.]+)/ before_script: - apk add --no-cache npm - - npm ci + - npm install script: - npm run test:ci only: -- GitLab