refactor(global): remove yarn in favor for npm

re #2087
This commit is contained in:
Dominik Biedebach
2022-05-10 15:30:14 +02:00
committed by Dominik
parent 5bc77081b7
commit 80de6cdf18
9 changed files with 73 additions and 7856 deletions

View File

@@ -53,7 +53,7 @@ body:
- type: checkboxes
attributes:
label: Did you update your dependencies?
description: "Use `yarn upgrade-interactive` to update your dependencies."
description: "Use `npm update` to update your dependencies."
options:
- label: Yes, Ive updated my dependencies to use the latest version of all packages.
required: true

View File

@@ -38,16 +38,16 @@ jobs:
path: |
**/node_modules
/home/runner/.cache/Cypress
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
id: install-dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: yarn install
run: npm install
# - name: Fix code style linting errors
# id: lint-fix
# run: yarn lint:fix
# run: npm run lint:fix
# continue-on-error: true
#
# - name: Commit fixed linting errors
@@ -58,7 +58,7 @@ jobs:
- name: Lint code
id: lint
run: yarn lint
run: npm run lint
- name: Send Slack notifications
uses: act10ns/slack@v1
@@ -91,8 +91,8 @@ jobs:
id: cypress
uses: cypress-io/github-action@v2
with:
cache-key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
start: yarn start
cache-key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}
start: npm run start
wait-on: 'http://localhost:3000'
project: ./tests
browser: chrome
@@ -150,16 +150,16 @@ jobs:
path: |
**/node_modules
/home/runner/.cache/Cypress
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
id: install-dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: yarn install
run: npm install
- name: Try to build the packages
id: build-packages
run: yarn build:ci
run: npm run build:ci
- name: Send Slack notifications
uses: act10ns/slack@v1