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" - name: "Checkout"
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: "Install modules" - name: "Install modules"
run: yarn run: npm install
- name: "Run command" - name: "Run command"
run: "yarn lint:${{ matrix.command }}" run: "npm run lint:${{ matrix.command }}"
unit-tests: unit-tests:
name: "Unit tests" name: "Unit tests"
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04

View file

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

View file

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