Skip to content

Commit

Permalink
Sort the cache properly
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanrainer committed Jul 15, 2024
1 parent 0a8fc0e commit e17ce4f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,10 @@ jobs:
curl https://get.volta.sh | bash -s
export VOLTA_HOME=$HOME/.volta
export PATH=$VOLTA_HOME/bin:$PATH
export npm_config_cache=$(mktemp -d)
rm -rf ./.npm-cache || true
mkdir -p ./.npm-cache || true
npm cache clean -f
export npm_config_cache=./.npm-cache
./${{ matrix.testing_target.binary_under_test }}/xtask smoke --binary-path ./${{ matrix.testing_target.binary_under_test }}/rover --federation-version "${{ matrix.composition-version }}" --router-version "${{ matrix.router-version }}"
- uses: volta-cli/action@v4
if: ${{ matrix.testing_target.container_to_use == ''}}
Expand Down

0 comments on commit e17ce4f

Please sign in to comment.