UBER-505: Fix resolve errors in console (#3449)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2023-06-22 15:22:37 +07:00
committed by GitHub
parent 747de753ae
commit ef3acfbf7c
5 changed files with 81 additions and 55 deletions
+36 -11
View File
@@ -36,17 +36,19 @@ jobs:
env:
cache-name: cache-node-modules
with:
path: ./common/temp
path: |
./common/temp
!./common/temp/build-cache
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Cache PR common
- name: Cache Build cache
uses: actions/cache@v3
with:
path: ./common/temp
key: ${{ runner.os }}-build-ref-${{ github.ref }}
path: ./common/temp/build-cache
key: build-cache-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-build-ref-${{ github.ref }}
build-cache-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Checking for mis-matching dependencies...
run: node common/scripts/install-run-rush.js check
@@ -198,7 +200,13 @@ jobs:
tools
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ github.sha }}
restore-keys: ${{ runner.os }}-build-${{ env.cache-name }}-${{ github.sha }}
- name: Cache Build cache
uses: actions/cache@v3
with:
path: ./common/temp/build-cache
key: build-cache-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
build-cache-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.9.0
with:
@@ -213,7 +221,13 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Cache Build cache
uses: actions/cache@v3
with:
path: ./common/temp/build-cache
key: build-cache-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
build-cache-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Cache build results
uses: actions/cache@v3
env:
@@ -270,6 +284,7 @@ jobs:
# cd ./tests
# ./update-snapshot-ci.sh ./tests/db_dump
- name: "Store docker logs"
if: always()
run: |
cd ./tests/sanity
mkdir logs
@@ -281,9 +296,13 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: playwright-results
path: |
./tests/sanity/playwright-report/
./tests/sanity/logs
path: ./tests/sanity/playwright-report/
- name: Upload Logs
if: always()
uses: actions/upload-artifact@v3
with:
name: docker-logs
path: ./tests/sanity/logs
# - name: Upload DB snapshot
# if: always()
# uses: actions/upload-artifact@v3
@@ -298,7 +317,13 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Cache Build cache
uses: actions/cache@v3
with:
path: ./common/temp/build-cache
key: build-cache-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
build-cache-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Cache build results
uses: actions/cache@v3
env: