Skip to content

Commit

Permalink
echo results
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Dec 14, 2023
1 parent faee07f commit cce739d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/module-plugin-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,18 @@ jobs:
working-directory: ./vendor/${{ inputs.module-repo }}
shell: bash
run: |
echo "hasPackageJson=`test -f vendor/${{ inputs.module-repo }}/package.json`" >> $GITHUB_OUTPUT
hasPackageJson=`test -f package.json`
echo "Module has package.json file: $hasPackageJson"
echo "hasPackageJson=$hasPackageJson" >> $GITHUB_OUTPUT
- name: Check Module for build script
id: build
working-directory: ./vendor/${{ inputs.module-repo }}
shell: bash
run: |
echo "hasBuildCommand=`grep -wq '"build":' vendor/${{ inputs.module-repo }}/package.json`" >> $GITHUB_OUTPUT
hasBuildCommand=`grep -wq '"build":' package.json`
echo "Module has build command: $hasBuildCommand"
echo "hasBuildCommand=$hasBuildCommand" >> $GITHUB_OUTPUT
- name: Setup Registry for Module
working-directory: ./vendor/${{ inputs.module-repo }}
Expand Down

0 comments on commit cce739d

Please sign in to comment.