Skip to content

Commit

Permalink
check if not false
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Dec 14, 2023
1 parent 8d3ec72 commit f788a4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/module-plugin-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f788a4d

Please sign in to comment.