Skip to content

Commit 932d70a

Browse files
authored
chore: Update yarn to v4.9.0 (#1336)
* chore: Update yarn to 4.9.0 Signed-off-by: Oleksii Orel <oorel@redhat.com>
1 parent 3ba9475 commit 932d70a

File tree

11 files changed

+949
-11162
lines changed

11 files changed

+949
-11162
lines changed

.github/workflows/pr.yml

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -40,28 +40,6 @@ jobs:
4040
name: "Check dependencies usage restrictions"
4141
run: yarn license:check
4242

43-
dash-licenses-yarn-v1:
44-
runs-on: ubuntu-22.04
45-
if: ${{ github.base_ref == 'main' }}
46-
steps:
47-
-
48-
name: "Checkout Che Dashboard source code"
49-
uses: actions/checkout@v4
50-
-
51-
name: "Use Node 20"
52-
uses: actions/setup-node@v4
53-
with:
54-
node-version: 20
55-
-
56-
name: "Switch to Yarn 1"
57-
run: scripts/yarn/change_package_manager.sh
58-
-
59-
name: "Install dependencies"
60-
run: yarn
61-
-
62-
name: "Check dependencies usage restrictions"
63-
run: yarn license:check
64-
6543
time-check:
6644
runs-on: ubuntu-22.04
6745
strategy:
@@ -110,36 +88,6 @@ jobs:
11088
name: "Run unit tests"
11189
run: yarn test
11290

113-
build-and-test-yarn-v1:
114-
runs-on: ubuntu-22.04
115-
strategy:
116-
matrix:
117-
node-version: [18.x, 20.x]
118-
steps:
119-
-
120-
name: "Checkout Che Dashboard source code"
121-
uses: actions/checkout@v4
122-
-
123-
name: "Use Node.js ${{ matrix.node-version }}"
124-
uses: actions/setup-node@v4
125-
with:
126-
node-version: ${{ matrix.node-version }}
127-
-
128-
name: "Switch to Yarn 1"
129-
run: scripts/yarn/change_package_manager.sh
130-
-
131-
name: "Install dependencies"
132-
run: yarn
133-
-
134-
name: "Build"
135-
run: yarn build
136-
-
137-
name: "Run linters"
138-
run: yarn lint:check
139-
-
140-
name: "Run unit tests"
141-
run: yarn test
142-
14391
docker-build:
14492
needs: build-and-test
14593
runs-on: ubuntu-22.04

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,3 @@ yarn-error.log
1818
run/.che-dashboard-pod
1919
run/.custom-resources
2020
run/public-certs
21-
22-
scripts/yarn/tmp
23-
scripts/yarn/old_version/.yarn/cache
24-
scripts/yarn/old_version/node_modules/

.yarn/releases/yarn-4.5.1.cjs

Lines changed: 0 additions & 934 deletions
This file was deleted.

.yarn/releases/yarn-4.9.0.cjs

Lines changed: 948 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ packageExtensions:
2424
dependencies:
2525
prop-types: "*"
2626

27-
yarnPath: .yarn/releases/yarn-4.5.1.cjs
27+
yarnPath: .yarn/releases/yarn-4.9.0.cjs

scripts/yarn/change_package_manager.sh

Lines changed: 0 additions & 67 deletions
This file was deleted.

scripts/yarn/old_version/.deps/EXCLUDED/dev.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

scripts/yarn/old_version/.deps/EXCLUDED/prod.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)