diff --git a/.github/workflows/module-plugin-test.yml b/.github/workflows/module-plugin-test.yml index a443832..45c04e0 100644 --- a/.github/workflows/module-plugin-test.yml +++ b/.github/workflows/module-plugin-test.yml @@ -199,12 +199,12 @@ jobs: - name: Sync Module build files to node_modules dir if: ${{ inputs.sync-npm-package }} run: | - echo "vendor/${{ inputs.module-repo }}/build" + echo "SOURCE vendor/${{ inputs.module-repo }}/build" ls -l vendor/${{ inputs.module-repo }}/build - echo "node_modules/@${{ inputs.module-repo }}/build" + echo "DESTINATION node_modules/@${{ inputs.module-repo }}/build" ls -l node_modules/@${{ inputs.module-repo }}/build - rsync -r -v -h --progress vendor/${{ inputs.module-repo }}/build node_modules/@${{ inputs.module-repo }}/build - echo "node_modules/@${{ inputs.module-repo }}/build after rsync" + cp -r -f -p vendor/${{ inputs.module-repo }}/build node_modules/@${{ inputs.module-repo }}/build + echo "UPDATED DESTINATION node_modules/@${{ inputs.module-repo }}/build" ls -l node_modules/@${{ inputs.module-repo }}/build - name: Build Plugin run: npm run build