Update yarn to latest version (4.4.1)

This commit is contained in:
CRoberto1926 2024-08-29 16:50:48 +02:00 committed by ryzheboka
parent 09c5c9d8b7
commit 3b3bd237e0
5 changed files with 13674 additions and 9736 deletions

View File

@ -14,7 +14,7 @@ concurrency:
env:
JAVA_VERSION: 17
NODE_VERSION: 16.14.2
NODE_VERSION: 22.7.0
ARTIFACTS_CYPRESS_TESTS_NAME: cypress-tests
ARTIFACTS_CYPRESS_TESTS_PATH: web/cypress
@ -83,6 +83,8 @@ jobs:
with:
distribution: adopt
java-version: ${{ env.JAVA_VERSION }}
- name: Enable Corepack
run: corepack enable
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4.0.3
with:
@ -106,7 +108,7 @@ jobs:
- name: Install Dependencies
if: steps.web-cache.outputs.cache-hit != 'true'
working-directory: web
run: yarn ci
run: yarn install && yarn ci
- name: Compile & build
working-directory: web
run: |
@ -133,6 +135,8 @@ jobs:
steps:
- name: Git checkout
uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4.0.3
with:
@ -163,7 +167,7 @@ jobs:
if: steps.maven-cache.outputs.cache-hit != 'true'
- name: Test
working-directory: web
run: yarn run test -- --coverageReporters text-summary
run: yarn run test --coverageReporters text-summary
- name: Cancel workflow
if: failure()
uses: andymckay/cancel-action@0.5
@ -180,6 +184,8 @@ jobs:
with:
distribution: adopt
java-version: ${{ env.JAVA_VERSION }}
- name: Enable Corepack
run: corepack enable
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4.0.3
with:

3
.gitignore vendored
View File

@ -58,6 +58,9 @@ testem.log
/typings
/web/package-lock.json
# https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
/web/.yarn/*
# e2e
/web/cypress/screenshots/
/web/cypress/videos/

1
web/.yarnrc.yml Normal file
View File

@ -0,0 +1 @@
nodeLinker: node-modules

View File

@ -75,5 +75,6 @@
"ts-jest": "27.1.5",
"tslint": "6.1.3",
"typescript": "4.6.3"
}
},
"packageManager": "yarn@4.4.1"
}

File diff suppressed because it is too large Load Diff