Skip to content

Commit

Permalink
chore: chown root npm folder
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Feb 12, 2024
1 parent e749666 commit 5e29834
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,10 @@ jobs:
uses: docker/setup-buildx-action@v3
- if: runner.os == 'Linux' && matrix.docker == true && matrix.musl != true && matrix.arch == 'arm64'
name: test arm64
run: docker run -v $PWD:/home/node/app --platform linux/${{ matrix.arch }} --rm node:${{ matrix.node-version }} bin/bash -c 'npm install -g [email protected] && apt install -y 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 }} bin/bash -c 'chown -R 1001:127 "/root/.npm" && npm install -g [email protected] && 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 [email protected] && 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" && npm install -g [email protected] && 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 5e29834

Please sign in to comment.