mirror of
https://github.com/block/goose.git
synced 2026-04-30 20:49:36 +00:00
Fix tests from upstream changes and add testing to lint staged and ci (#4127)
This commit is contained in:
parent
5c1789a6fc
commit
867752a71e
7 changed files with 75 additions and 59 deletions
26
.github/workflows/bundle-desktop.yml
vendored
26
.github/workflows/bundle-desktop.yml
vendored
|
|
@ -107,22 +107,6 @@ jobs:
|
|||
cd ui/desktop
|
||||
npm version "${VERSION}" --no-git-tag-version --allow-same-version
|
||||
|
||||
# Pre-build cleanup to ensure enough disk space
|
||||
- name: Pre-build cleanup
|
||||
run: |
|
||||
source ./bin/activate-hermit
|
||||
echo "Performing pre-build cleanup..."
|
||||
# Clean npm cache
|
||||
npm cache clean --force || true
|
||||
# Clean any previous build artifacts
|
||||
rm -rf target || true
|
||||
# Clean Homebrew cache
|
||||
brew cleanup || true
|
||||
# Remove unnecessary large directories
|
||||
rm -rf ~/Library/Caches/* || true
|
||||
# Check disk space after cleanup
|
||||
df -h
|
||||
|
||||
- name: Cache Cargo registry
|
||||
uses: actions/cache@2f8e54208210a422b2efd51efaa6bd6d7ca8920f # pin@v3
|
||||
with:
|
||||
|
|
@ -191,6 +175,16 @@ jobs:
|
|||
cp temporal-service/temporal-service ui/desktop/src/bin/temporal-service
|
||||
cp bin/temporal ui/desktop/src/bin/temporal
|
||||
|
||||
- name: Cache npm dependencies
|
||||
uses: actions/cache@2f8e54208210a422b2efd51efaa6bd6d7ca8920f # pin@v3
|
||||
with:
|
||||
path: |
|
||||
ui/desktop/node_modules
|
||||
.hermit/node/cache
|
||||
key: macos-npm-cache-v1-${{ runner.os }}-${{ hashFiles('ui/desktop/package-lock.json') }}
|
||||
restore-keys: |
|
||||
macos-npm-cache-v1-${{ runner.os }}-
|
||||
|
||||
- name: Install dependencies
|
||||
run: source ../../bin/activate-hermit && npm ci
|
||||
working-directory: ui/desktop
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue