Update yarn to latest version (4.4.1)
This commit is contained in:
parent
09c5c9d8b7
commit
3b3bd237e0
|
@ -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:
|
||||||
|
|
|
@ -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/
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
nodeLinker: node-modules
|
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
23391
web/yarn.lock
23391
web/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue