diff --git a/.github/workflows/module-plugin-test.yml b/.github/workflows/module-plugin-test.yml index f33f78f..2742276 100644 --- a/.github/workflows/module-plugin-test.yml +++ b/.github/workflows/module-plugin-test.yml @@ -152,19 +152,19 @@ jobs: - name: Setup Registry for Module working-directory: ./vendor/${{ inputs.module-repo }} - if: ${{ steps.package.outputs.hasPackageJson == 'true' }} + if: ${{ steps.package.outputs.hasPackageJson }} 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 }} 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' }} + ${{ steps.package.outputs.hasPackageJson }} && + ${{ steps.build.outputs.hasBuildCommand }} run: npm run build # step to sync js package files with build files