From fbb7e0c930d29df8c398549210ab64c920060453 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Uzna=C5=84ski?= Date: Tue, 7 May 2024 15:40:32 +0200 Subject: [PATCH] [TASK] Switch from yarn to npm (#1289) Resolves: #1274 --- .github/workflows/ci.yml | 4 ++-- .gitlab/pipeline/jobs/.default-frontend.yml | 4 ++-- .gitlab/pipeline/jobs/javascript-lint.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1244e29..e21e525 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.gitlab/pipeline/jobs/.default-frontend.yml b/.gitlab/pipeline/jobs/.default-frontend.yml index 6523ca5..eaf19c5 100644 --- a/.gitlab/pipeline/jobs/.default-frontend.yml +++ b/.gitlab/pipeline/jobs/.default-frontend.yml @@ -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 diff --git a/.gitlab/pipeline/jobs/javascript-lint.yml b/.gitlab/pipeline/jobs/javascript-lint.yml index c1f8e5a..839ed77 100644 --- a/.gitlab/pipeline/jobs/javascript-lint.yml +++ b/.gitlab/pipeline/jobs/javascript-lint.yml @@ -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