Skip to content

Commit

Permalink
ci: rm logs and cache
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Feb 12, 2024
1 parent c9c070f commit 1984770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1984770

Please sign in to comment.