diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e36ec790191519f598eb79fcbb885e5f93d54503..a6923454b6aa6139306bc443ce89635238f03941 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,7 +23,7 @@ install: format-code: stage: lint_and_format script: - - npm run format + - npm run format-test lint-code: stage: lint_and_format diff --git a/package.json b/package.json index cf80eebb9f86b4dd28b6bcd03d5bf04506016cd4..c29f6694d37ea0f2307ed0c75902de841a68eeb2 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,8 @@ "type-check": "vue-tsc --build --force", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", "test:coverage": "vitest run --coverage --environment jsdom", - "format": "prettier --write src/" + "format": "prettier --write src/", + "format-test": "prettier --check src/" }, "dependencies": { "pinia": "^2.1.7",