mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-09 23:56:14 +01:00
[TASK] Rename npm commands to fit general naming scheme
This commit is contained in:
parent
48dfc14a15
commit
9bee5c6f35
3 changed files with 7 additions and 7 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -102,7 +102,7 @@ jobs:
|
||||||
npm ci
|
npm ci
|
||||||
- name: "Run command"
|
- name: "Run command"
|
||||||
run: |
|
run: |
|
||||||
npm run lint:${{ matrix.command }}
|
npm run ci:lint:${{ matrix.command }}
|
||||||
unit-tests:
|
unit-tests:
|
||||||
name: "Unit tests"
|
name: "Unit tests"
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
|
|
|
@ -2,10 +2,10 @@ javascript-lint:
|
||||||
extends: .default-frontend
|
extends: .default-frontend
|
||||||
stage: lint
|
stage: lint
|
||||||
script:
|
script:
|
||||||
- npm run lint:js
|
- npm run ci:lint:js
|
||||||
|
|
||||||
style-lint:
|
style-lint:
|
||||||
extends: .default-frontend
|
extends: .default-frontend
|
||||||
stage: lint
|
stage: lint
|
||||||
script:
|
script:
|
||||||
- npm run lint:style
|
- npm run ci:lint:style
|
||||||
|
|
|
@ -14,10 +14,10 @@
|
||||||
"npm": "^10.5.0"
|
"npm": "^10.5.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint:js": "eslint 'Resources/Public/**/*.js'",
|
"ci:lint:js": "eslint 'Resources/Public/**/*.js'",
|
||||||
"lint:js:fix": "eslint 'Resources/Public/**/*.js' --quiet --fix",
|
"fix:lint:js": "eslint 'Resources/Public/**/*.js' --quiet --fix",
|
||||||
"lint:style": "stylelint Resources/Public/**/*.css",
|
"ci:lint:style": "stylelint Resources/Public/**/*.css",
|
||||||
"lint:style:fix": "stylelint Resources/Public/**/*.css --fix"
|
"fix:lint:style": "stylelint Resources/Public/**/*.css --fix"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^9.2.0",
|
"eslint": "^9.2.0",
|
||||||
|
|
Loading…
Reference in a new issue