diff --git a/.github/workflows/scriptTests.yml b/.github/workflows/scriptTests.yml index 0e530bebc..ea4c5ab1e 100644 --- a/.github/workflows/scriptTests.yml +++ b/.github/workflows/scriptTests.yml @@ -63,12 +63,13 @@ jobs: npm install bin/jfrog${{ matrix.suite.osSuffix }} --version if: | - !contains(github.event.head_commit.modified, ${{ working-directory }}'/package.json') + !contains(github.event.head_commit.modified, 'build/npm/v2/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, 'build/npm/v2-jf/package.json') }} + if: | + !contains(github.event.head_commit.modified, 'build/npm/v2-jf/package.json')"