diff --git a/.github/workflows/scriptTests.yml b/.github/workflows/scriptTests.yml index 95c2cce63..4791bf8a2 100644 --- a/.github/workflows/scriptTests.yml +++ b/.github/workflows/scriptTests.yml @@ -62,10 +62,12 @@ jobs: run: | npm install bin/jfrog${{ matrix.suite.osSuffix }} --version + if: !contains(github.event.head_commit.modified, ${{ working-directory }}'/package.json') - name: Test install npm - v2-jf working-directory: build/npm/v2-jf run: | npm install bin/jf${{ matrix.suite.osSuffix }} --version + if: !contains(github.event.head_commit.modified, ${{ working-directory }}'/package.json')