From f788a4d21c65689680597d9524691e7504b3f9be Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Thu, 14 Dec 2023 15:27:38 -0500 Subject: [PATCH] check if not false --- .github/workflows/module-plugin-test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/module-plugin-test.yml b/.github/workflows/module-plugin-test.yml index c1e9134..f4be8a1 100644 --- a/.github/workflows/module-plugin-test.yml +++ b/.github/workflows/module-plugin-test.yml @@ -150,17 +150,17 @@ jobs: - name: Setup Registry for Module working-directory: vendor/${{ inputs.module-repo }} - if: ${{ steps.package.outputs.hasPackageJson == 'true' }} + if: ${{ steps.package.outputs.hasPackageJson != 'false' }} run: printf "\n//npm.pkg.github.com/:_authToken=${{ secrets.NEWFOLD_ACCESS_TOKEN }}" >> .npmrc - name: NPM Install for Module if package.json exists working-directory: vendor/${{ inputs.module-repo }} - if: ${{ steps.package.outputs.hasPackageJson == 'true' }} + if: ${{ steps.package.outputs.hasPackageJson != 'false' }} run: npm ci --legacy-peer-deps - name: Build Module if build command exists working-directory: vendor/${{ inputs.module-repo }} - if: ${{ steps.package.outputs.hasPackageJson == 'true' }} && ${{ steps.build.outputs.hasBuildCommand == 'true' }} + if: ${{ steps.build.outputs.hasBuildCommand != 'false' }} run: npm run build # step to sync js package files with build files