mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-31 12:19:47 +02:00
UBER-505: Fix resolve errors in console (#3449)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
+36
-11
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user