Update yarn to latest version (4.4.1)
This commit is contained in:
parent
09c5c9d8b7
commit
3b3bd237e0
|
@ -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:
|
||||
|
|
|
@ -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/
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
nodeLinker: node-modules
|
|
@ -75,5 +75,6 @@
|
|||
"ts-jest": "27.1.5",
|
||||
"tslint": "6.1.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