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

[TASK] Switch from yarn to npm (#1289)

Resolves: #1274
This commit is contained in:
Łukasz Uznański 2024-05-07 15:40:32 +02:00 committed by GitHub
parent 76293755df
commit fbb7e0c930
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View file

@ -93,9 +93,9 @@ jobs:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Install modules"
run: yarn
run: npm install
- name: "Run command"
run: "yarn lint:${{ matrix.command }}"
run: "npm run lint:${{ matrix.command }}"
unit-tests:
name: "Unit tests"
runs-on: ubuntu-22.04

View file

@ -5,6 +5,6 @@
key: "$CI_PROJECT_ID"
paths:
- Resources/Private/node_modules/
- Resources/Private/.yarn
- Resources/Private/.npm
before_script:
- yarn install --cache-folder .yarn
- npm install --cache .npm

View file

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