mirror of https://github.com/buster-so/buster.git
test
This commit is contained in:
parent
bd1892000d
commit
b40f951e50
|
@ -53,10 +53,10 @@ runs:
|
|||
uses: actions/cache@v4
|
||||
with:
|
||||
path: .turbo
|
||||
key: turbo-${{ github.job }}-${{ github.ref_name }}-${{ github.sha }}
|
||||
key: turbo-${{ inputs.cache-key }}-${{ github.ref_name }}-${{ github.sha }}
|
||||
restore-keys: |
|
||||
turbo-${{ github.job }}-${{ github.ref_name }}-
|
||||
turbo-${{ github.job }}-
|
||||
turbo-${{ inputs.cache-key }}-${{ github.ref_name }}-
|
||||
turbo-${{ inputs.cache-key }}-main-
|
||||
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
|
|
|
@ -47,7 +47,7 @@ jobs:
|
|||
with:
|
||||
cache-key: lint-build-test
|
||||
|
||||
- name: Build all packages (excluding web)
|
||||
- name: Build all packages
|
||||
run: pnpm turbo build
|
||||
env:
|
||||
NODE_ENV: production
|
||||
|
@ -70,14 +70,6 @@ jobs:
|
|||
with:
|
||||
cache-key: lint-build-test
|
||||
|
||||
- name: Build required packages
|
||||
run: pnpm turbo build --filter="!@buster-app/web" --filter="!@buster-app/api-legacy"
|
||||
env:
|
||||
NODE_ENV: production
|
||||
SKIP_ENV_CHECK: true
|
||||
TURBO_CACHE_DIR: .turbo
|
||||
TURBO_TELEMETRY_DISABLED: 1
|
||||
|
||||
- name: Run all unit tests
|
||||
run: pnpm turbo test:unit
|
||||
env:
|
||||
|
|
Loading…
Reference in New Issue