From 77ed5ddc203483ce4641d311107743bab7d1fd50 Mon Sep 17 00:00:00 2001 From: Marcelo Bezerra <23555060+mmosca@users.noreply.github.com> Date: Tue, 19 Nov 2024 17:30:10 +0100 Subject: [PATCH] cleanup, second attempt --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d519cbfad..cb679751d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,8 +18,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Remove stale files - run: rm -rfv node_modules - name: Setup environment env: ACTIONS_ALLOW_UNSECURE_COMMANDS: true @@ -44,6 +42,8 @@ jobs: cache: 'npm' - name: Install dependencies run: sudo apt-get update && sudo apt-get -y install dpkg fakeroot rpm build-essential libudev-dev + - name: Remove stale files + run: rm -rfv node_modules - name: Install deps uses: nick-fields/retry@v3 with: @@ -74,8 +74,6 @@ jobs: runs-on: macos-13 steps: - uses: actions/checkout@v4 - - name: Remove stale files - run: rm -rfv node_modules - name: Setup environment env: ACTIONS_ALLOW_UNSECURE_COMMANDS: true @@ -100,6 +98,8 @@ jobs: # Workaround due to a bug in node-gyp: https://github.com/electron/rebuild/issues/1116 - name: Install Setuptools run: python3 -m pip install --break-system-packages setuptools + - name: Remove stale files + run: rm -rfv node_modules - name: Install deps uses: nick-fields/retry@v3 with: @@ -124,8 +124,6 @@ jobs: runs-on: macos-13 steps: - uses: actions/checkout@v4 - - name: Remove stale files - run: rm -rfv node_modules - name: Setup environment env: ACTIONS_ALLOW_UNSECURE_COMMANDS: true @@ -150,6 +148,8 @@ jobs: # Workaround due to a bug in node-gyp: https://github.com/electron/rebuild/issues/1116 - name: Install Setuptools run: python3 -m pip install --break-system-packages setuptools + - name: Remove stale files + run: rm -rfv node_modules - name: Install deps uses: nick-fields/retry@v3 with: