mirror of
https://github.com/block/goose.git
synced 2026-04-28 11:39:43 +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
31
.github/workflows/bundle-desktop-linux.yml
vendored
31
.github/workflows/bundle-desktop-linux.yml
vendored
|
|
@ -78,26 +78,6 @@ jobs:
|
|||
dpkg-dev \
|
||||
protobuf-compiler
|
||||
|
||||
- name: Pre-build cleanup
|
||||
run: |
|
||||
echo "Performing aggressive pre-build cleanup..."
|
||||
# Clean npm cache
|
||||
npm cache clean --force || true
|
||||
# Clean any previous build artifacts
|
||||
rm -rf target || true
|
||||
# Clean Homebrew cache (if exists)
|
||||
brew cleanup || true
|
||||
# Remove unnecessary large directories
|
||||
sudo rm -rf /usr/share/dotnet || true
|
||||
sudo rm -rf /usr/local/lib/android || true
|
||||
sudo rm -rf /opt/ghc || true
|
||||
sudo rm -rf /usr/local/share/boost || true
|
||||
# Clean apt cache
|
||||
sudo apt-get clean || true
|
||||
sudo apt-get autoremove -y || true
|
||||
# Check disk space after cleanup
|
||||
df -h
|
||||
|
||||
- name: Activate hermit and set CARGO_HOME
|
||||
run: |
|
||||
source bin/activate-hermit
|
||||
|
|
@ -154,11 +134,20 @@ jobs:
|
|||
chmod +x ui/desktop/src/bin/temporal-service
|
||||
ls -la ui/desktop/src/bin/
|
||||
|
||||
- name: Cache npm dependencies
|
||||
uses: actions/cache@2f8e54208210a422b2efd51efaa6bd6d7ca8920f # pin@v3
|
||||
with:
|
||||
path: |
|
||||
ui/desktop/node_modules
|
||||
.hermit/node/cache
|
||||
key: linux-npm-cache-v1-${{ runner.os }}-${{ hashFiles('ui/desktop/package-lock.json') }}
|
||||
restore-keys: |
|
||||
linux-npm-cache-v1-${{ runner.os }}-
|
||||
|
||||
- name: Install npm dependencies
|
||||
run: |
|
||||
source ./bin/activate-hermit
|
||||
cd ui/desktop
|
||||
npm cache clean --force || true
|
||||
npm install
|
||||
# Verify installation
|
||||
ls -la node_modules/.bin/ | head -5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue