mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-11 00:08:30 +01:00
chore: avoid building frontend if not needed (#4982)
## About the changes Looks like we're building twice: https://github.com/Unleash/unleash/actions/runs/6468079228/job/17559391393#step:5:136
This commit is contained in:
parent
cc4dbe8c92
commit
b802ced0f5
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
@ -39,7 +39,7 @@ jobs:
|
|||||||
node-version: 18.17
|
node-version: 18.17
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
- run: yarn
|
- run: yarn
|
||||||
- run: yarn build:frontend
|
- run: yarn build:frontend:if-needed
|
||||||
- run: yarn lint
|
- run: yarn lint
|
||||||
- run: yarn run test:report # This adds test results as github check to the workflow
|
- run: yarn run test:report # This adds test results as github check to the workflow
|
||||||
env:
|
env:
|
||||||
|
2
.github/workflows/build_coverage.yaml
vendored
2
.github/workflows/build_coverage.yaml
vendored
@ -39,7 +39,7 @@ jobs:
|
|||||||
node-version: 18.17
|
node-version: 18.17
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
- run: yarn
|
- run: yarn
|
||||||
- run: yarn build:frontend
|
- run: yarn build:frontend:if-needed
|
||||||
- run: yarn run test:coverage
|
- run: yarn run test:coverage
|
||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
|
Loading…
Reference in New Issue
Block a user