mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-09-19 18:36:12 +02:00

[TASK] Rename npm commands to fit general naming scheme

This commit is contained in:
Felix Althaus 2024-07-30 19:35:39 +02:00
parent 48dfc14a15
commit 9bee5c6f35
No known key found for this signature in database
GPG key ID: 3A671D812769C5B2
3 changed files with 7 additions and 7 deletions

View file

@ -102,7 +102,7 @@ jobs:
npm ci
- name: "Run command"
run: |
npm run lint:${{ matrix.command }}
npm run ci:lint:${{ matrix.command }}
unit-tests:
name: "Unit tests"
runs-on: ubuntu-24.04

View file

@ -2,10 +2,10 @@ javascript-lint:
extends: .default-frontend
stage: lint
script:
- npm run lint:js
- npm run ci:lint:js
style-lint:
extends: .default-frontend
stage: lint
script:
- npm run lint:style
- npm run ci:lint:style

View file

@ -14,10 +14,10 @@
"npm": "^10.5.0"
},
"scripts": {
"lint:js": "eslint 'Resources/Public/**/*.js'",
"lint:js:fix": "eslint 'Resources/Public/**/*.js' --quiet --fix",
"lint:style": "stylelint Resources/Public/**/*.css",
"lint:style:fix": "stylelint Resources/Public/**/*.css --fix"
"ci:lint:js": "eslint 'Resources/Public/**/*.js'",
"fix:lint:js": "eslint 'Resources/Public/**/*.js' --quiet --fix",
"ci:lint:style": "stylelint Resources/Public/**/*.css",
"fix:lint:style": "stylelint Resources/Public/**/*.css --fix"
},
"devDependencies": {
"eslint": "^9.2.0",