From 2bef230f39b19600ea559e3e4ce2b76142489fae Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Wed, 17 Apr 2024 10:39:38 -0400 Subject: [PATCH] remove -p from cp command and add test file --- .github/workflows/module-plugin-test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/module-plugin-test.yml b/.github/workflows/module-plugin-test.yml index 45c04e0..cbecaab 100644 --- a/.github/workflows/module-plugin-test.yml +++ b/.github/workflows/module-plugin-test.yml @@ -199,11 +199,13 @@ jobs: - name: Sync Module build files to node_modules dir if: ${{ inputs.sync-npm-package }} run: | + echo 'The only winning move is not to play.' > vendor/${{ inputs.module-repo }}/build/test.txt echo "SOURCE vendor/${{ inputs.module-repo }}/build" ls -l vendor/${{ inputs.module-repo }}/build echo "DESTINATION node_modules/@${{ inputs.module-repo }}/build" ls -l node_modules/@${{ inputs.module-repo }}/build - cp -r -f -p vendor/${{ inputs.module-repo }}/build node_modules/@${{ inputs.module-repo }}/build + echo "Updating DESTINATION from SOURCE?" + cp -r -f 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