From 19847705309e0e45177fac157837920900ef55d2 Mon Sep 17 00:00:00 2001 From: Yousaf Nabi Date: Mon, 12 Feb 2024 20:11:25 +0000 Subject: [PATCH] ci: rm logs and cache --- .github/workflows/build-and-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index bd711ead..42dd78db 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -217,7 +217,7 @@ jobs: run: docker run -v $PWD:/home/node/app --platform linux/${{ matrix.arch }} --rm node:${{ matrix.node-version }} /bin/bash -c 'chown -R 1001:127 /root/.npm && apt install -y shared-mime-info && cd /home/node/app && ./script/ci/download-standalone-and-test.sh' - if: runner.os == 'Linux' && matrix.docker == true && matrix.musl == true name: test linux ${{ matrix.arch }} musl - run: docker run -v $PWD:/home/node/app --platform linux/${{ matrix.arch }} --rm node:${{ matrix.node-version }}-alpine /bin/sh -c 'npm install -g npm@latest && npm cache clean --force && apk add bash curl shared-mime-info && cd /home/node/app && ./script/ci/download-standalone-and-test.sh' + run: docker run -v $PWD:/home/node/app --platform linux/${{ matrix.arch }} --rm node:${{ matrix.node-version }}-alpine /bin/sh -c 'chown -R 1001:127 /root/.npm && rm -rf /root/.npm/_cacache/ && rm -rf /root/.npm/_logs && apk add bash curl shared-mime-info && cd /home/node/app && ./script/ci/download-standalone-and-test.sh' # release_dry_run: # runs-on: ubuntu-latest