mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-25 16:04:01 +00:00
Merge branch 'bug/circleci-workspace'
This commit is contained in:
commit
eb01f14cf3
@ -146,15 +146,15 @@ jobs:
|
||||
keys:
|
||||
- yarn-{{ checksum "yarn.lock" }}
|
||||
- run: yarn build
|
||||
- save_cache:
|
||||
name: Cache build files
|
||||
key: build-{{ checksum "yarn.lock" }}
|
||||
- persist_to_workspace:
|
||||
root: .
|
||||
paths:
|
||||
- packages/core/dist/
|
||||
- packages/cli/dist/
|
||||
- packages/browser/dist/
|
||||
- packages/node/dist/
|
||||
- packages/requester-utils/dist/
|
||||
|
||||
- store_artifacts:
|
||||
path: packages/core/dist/
|
||||
- store_artifacts:
|
||||
@ -301,10 +301,8 @@ jobs:
|
||||
name: Restore yarn package cache
|
||||
keys:
|
||||
- yarn-{{ checksum "yarn.lock" }}
|
||||
- restore_cache:
|
||||
name: Restore build cache
|
||||
keys:
|
||||
- build-{{ checksum "yarn.lock" }}
|
||||
- attach_workspace:
|
||||
at: .
|
||||
- run: yarn workspace @gitbeaker/core test:integration
|
||||
|
||||
test-integration-browser:
|
||||
@ -314,14 +312,12 @@ jobs:
|
||||
PLAYWRIGHT_BROWSERS_PATH: 0
|
||||
steps:
|
||||
- checkout
|
||||
- attach_workspace:
|
||||
at: .
|
||||
- restore_cache:
|
||||
name: Restore yarn package cache
|
||||
keys:
|
||||
- yarn-{{ checksum "yarn.lock" }}
|
||||
- restore_cache:
|
||||
name: Restore build cache
|
||||
keys:
|
||||
- build-{{ checksum "yarn.lock" }}
|
||||
- restore_cache:
|
||||
name: Restore env vars
|
||||
keys:
|
||||
@ -336,14 +332,12 @@ jobs:
|
||||
- image: node:lts-alpine
|
||||
steps:
|
||||
- checkout
|
||||
- attach_workspace:
|
||||
at: .
|
||||
- restore_cache:
|
||||
name: Restore yarn package cache
|
||||
keys:
|
||||
- yarn-{{ checksum "yarn.lock" }}
|
||||
- restore_cache:
|
||||
name: Restore build cache
|
||||
keys:
|
||||
- build-{{ checksum "yarn.lock" }}
|
||||
- restore_cache:
|
||||
name: Restore env vars
|
||||
keys:
|
||||
@ -358,14 +352,12 @@ jobs:
|
||||
- image: node:lts-alpine
|
||||
steps:
|
||||
- checkout
|
||||
- attach_workspace:
|
||||
at: .
|
||||
- restore_cache:
|
||||
name: Restore yarn package cache
|
||||
keys:
|
||||
- yarn-{{ checksum "yarn.lock" }}
|
||||
- restore_cache:
|
||||
name: Restore build cache
|
||||
keys:
|
||||
- build-{{ checksum "yarn.lock" }}
|
||||
- restore_cache:
|
||||
name: Restore env vars
|
||||
keys:
|
||||
@ -406,14 +398,12 @@ jobs:
|
||||
- image: node:lts-alpine
|
||||
steps:
|
||||
- checkout
|
||||
- attach_workspace:
|
||||
at: .
|
||||
- restore_cache:
|
||||
name: Restore yarn package cache
|
||||
keys:
|
||||
- yarn-{{ checksum "yarn.lock" }}
|
||||
- restore_cache:
|
||||
name: Restore build cache
|
||||
keys:
|
||||
- build-{{ checksum "yarn.lock" }}
|
||||
- run: |
|
||||
NUM_RELEASES=$(find packages -maxdepth 2 -name '*dist*' -type d -print | wc -l)
|
||||
|
||||
@ -444,14 +434,12 @@ jobs:
|
||||
- image: node:lts-alpine
|
||||
steps:
|
||||
- checkout
|
||||
- attach_workspace:
|
||||
at: .
|
||||
- restore_cache:
|
||||
name: Restore yarn package cache
|
||||
keys:
|
||||
- yarn-{{ checksum "yarn.lock" }}
|
||||
- restore_cache:
|
||||
name: Restore build cache
|
||||
keys:
|
||||
- build-{{ checksum "yarn.lock" }}
|
||||
- run: |
|
||||
NUM_RELEASES=$(find packages -maxdepth 2 -name '*dist*' -type d -print | wc -l)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user