Update yarn to latest version (4.4.1)

This commit is contained in:
CRoberto1926 2024-08-29 16:50:48 +02:00 committed by Elena Mokeeva
parent 686a6b2f95
commit 08c323f989
5 changed files with 13674 additions and 9736 deletions

View File

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

3
.gitignore vendored
View File

@ -58,6 +58,9 @@ testem.log
/typings /typings
/web/package-lock.json /web/package-lock.json
# https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
/web/.yarn/*
# e2e # e2e
/web/cypress/screenshots/ /web/cypress/screenshots/
/web/cypress/videos/ /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", "ts-jest": "27.1.5",
"tslint": "6.1.3", "tslint": "6.1.3",
"typescript": "4.6.3" "typescript": "4.6.3"
} },
"packageManager": "yarn@4.4.1"
} }

File diff suppressed because it is too large Load Diff