Skip to content

Commit

Permalink
Update yarn to v4 & bump node version
Browse files Browse the repository at this point in the history
  • Loading branch information
semkedaniil committed Nov 22, 2023
1 parent a199cd5 commit 4ee8ee0
Show file tree
Hide file tree
Showing 5 changed files with 3,096 additions and 3,959 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

env:
DOTNET_VERSION: 6.0.x
NODE_VERSION: 16
NODE_VERSION: 20
NPM_REGISTRY: https://registry.npmjs.org

jobs:
Expand All @@ -31,8 +31,11 @@ jobs:
- name: Install dependencies
run: dotnet restore ./DbViewer.sln --verbosity minimal && dotnet tool restore

- name: Install yarn
run: corepack enable && corepack prepare [email protected] --activate

- name: Install node dependencies
run: cd ./db-viewer-ui && yarn set version berry && yarn install --immutable
run: corepack yarn --cwd cassandra-distributed-task-queue-ui --immutable

- name: Pull docker images
run: docker pull selenoid/vnc:chrome_112.0
Expand Down Expand Up @@ -102,6 +105,12 @@ jobs:
node-version: ${{ env.NODE_VERSION }}
registry-url: ${{ env.NPM_REGISTRY }}

- name: Install yarn
run: corepack enable && corepack prepare [email protected] --activate

- name: Install node dependencies
run: corepack yarn --cwd cassandra-distributed-task-queue-ui --immutable

- name: Check version
run: |
tagName="${{github.ref_name}}"
Expand Down
874 changes: 0 additions & 874 deletions db-viewer-ui/.yarn/releases/yarn-3.6.4.cjs

This file was deleted.

6 changes: 4 additions & 2 deletions db-viewer-ui/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
compressionLevel: mixed

enableGlobalCache: false

networkConcurrency: 16

nodeLinker: node-modules

npmRegistryServer: "https://registry.npmjs.org"

yarnPath: .yarn/releases/yarn-3.6.4.cjs
2 changes: 1 addition & 1 deletion db-viewer-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,5 @@
"vite": "^4.4.9",
"vitest": "^0.30.1"
},
"packageManager": "yarn@3.6.4"
"packageManager": "yarn@4.0.2+sha256.825003a0f561ad09a3b1ac4a3b3ea6207af2796d54f62a9420520915721f5186"
}
Loading

0 comments on commit 4ee8ee0

Please sign in to comment.