mirror of https://github.com/webpack/webpack.git
chore: fix installation
This commit is contained in:
parent
080fc129c2
commit
23a06f223a
|
@ -114,7 +114,7 @@ jobs:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
cache: "yarn"
|
cache: "yarn"
|
||||||
# Install old `jest` version and ignore platform problem for legacy node versions
|
# Install old `jest` version and ignore platform problem for legacy node versions
|
||||||
- run: yarn upgrade jest@^27.5.0 jest-circus@^27.5.0 jest-cli@^27.5.0 jest-diff@^27.5.0 jest-environment-node@^27.5.0 jest-junit@^13.0.0
|
- run: yarn upgrade jest@^27.5.0 jest-circus@^27.5.0 jest-cli@^27.5.0 jest-diff@^27.5.0 jest-environment-node@^27.5.0 jest-junit@^13.0.0 assemblyscript@^0.19.1
|
||||||
if: matrix.node-version == '10.x' || matrix.node-version == '12.x'
|
if: matrix.node-version == '10.x' || matrix.node-version == '12.x'
|
||||||
- run: yarn --frozen-lockfile --ignore-engines
|
- run: yarn --frozen-lockfile --ignore-engines
|
||||||
if: matrix.node-version == '10.x' || matrix.node-version == '12.x'
|
if: matrix.node-version == '10.x' || matrix.node-version == '12.x'
|
||||||
|
|
|
@ -142,7 +142,7 @@ jobs:
|
||||||
path: $(YARN_CACHE_FOLDER)
|
path: $(YARN_CACHE_FOLDER)
|
||||||
displayName: "Cache Yarn packages"
|
displayName: "Cache Yarn packages"
|
||||||
# Install old `jest` version and ignore platform problem for legacy node versions
|
# Install old `jest` version and ignore platform problem for legacy node versions
|
||||||
- script: yarn upgrade jest@^27.5.0 jest-circus@^27.5.0 jest-cli@^27.5.0 jest-diff@^27.5.0 jest-environment-node@^27.5.0 jest-junit@^13.0.0
|
- script: yarn upgrade jest@^27.5.0 jest-circus@^27.5.0 jest-cli@^27.5.0 jest-diff@^27.5.0 jest-environment-node@^27.5.0 jest-junit@^13.0.0 assemblyscript@^0.19.1
|
||||||
displayName: "Install old jest version"
|
displayName: "Install old jest version"
|
||||||
condition: or(eq(variables['node_version'], '^10.13.0'), eq(variables['node_version'], '^12.4.0'))
|
condition: or(eq(variables['node_version'], '^10.13.0'), eq(variables['node_version'], '^12.4.0'))
|
||||||
- script: yarn --frozen-lockfile --ignore-engines
|
- script: yarn --frozen-lockfile --ignore-engines
|
||||||
|
@ -216,7 +216,7 @@ jobs:
|
||||||
path: $(YARN_CACHE_FOLDER)
|
path: $(YARN_CACHE_FOLDER)
|
||||||
displayName: "Cache Yarn packages"
|
displayName: "Cache Yarn packages"
|
||||||
# Install old `jest` version and ignore platform problem for legacy node versions
|
# Install old `jest` version and ignore platform problem for legacy node versions
|
||||||
- script: yarn upgrade jest@^27.5.0 jest-circus@^27.5.0 jest-cli@^27.5.0 jest-diff@^27.5.0 jest-environment-node@^27.5.0 jest-junit@^13.0.0
|
- script: yarn upgrade jest@^27.5.0 jest-circus@^27.5.0 jest-cli@^27.5.0 jest-diff@^27.5.0 jest-environment-node@^27.5.0 jest-junit@^13.0.0 assemblyscript@^0.19.1
|
||||||
displayName: "Install old jest version"
|
displayName: "Install old jest version"
|
||||||
condition: or(eq(variables['node_version'], '^10.13.0'), eq(variables['node_version'], '^12.4.0'))
|
condition: or(eq(variables['node_version'], '^10.13.0'), eq(variables['node_version'], '^12.4.0'))
|
||||||
- script: |
|
- script: |
|
||||||
|
@ -290,7 +290,7 @@ jobs:
|
||||||
key: yarn | $(Agent.OS) | yarn.lock
|
key: yarn | $(Agent.OS) | yarn.lock
|
||||||
path: $(YARN_CACHE_FOLDER)
|
path: $(YARN_CACHE_FOLDER)
|
||||||
displayName: "Cache Yarn packages"
|
displayName: "Cache Yarn packages"
|
||||||
- script: yarn upgrade jest@^27.5.0 jest-circus@^27.5.0 jest-cli@^27.5.0 jest-diff@^27.5.0 jest-environment-node@^27.5.0 jest-junit@^13.0.0
|
- script: yarn upgrade jest@^27.5.0 jest-circus@^27.5.0 jest-cli@^27.5.0 jest-diff@^27.5.0 jest-environment-node@^27.5.0 jest-junit@^13.0.0 assemblyscript@^0.19.1
|
||||||
displayName: "Install old jest version"
|
displayName: "Install old jest version"
|
||||||
condition: or(eq(variables['node_version'], '^10.13.0'), eq(variables['node_version'], '^12.4.0'))
|
condition: or(eq(variables['node_version'], '^10.13.0'), eq(variables['node_version'], '^12.4.0'))
|
||||||
- script: |
|
- script: |
|
||||||
|
|
Loading…
Reference in New Issue