From 5ac1670bb028561ca53f704e131ffeeffd16c17f Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Thu, 14 Dec 2023 17:18:20 -0500 Subject: [PATCH] add module build sync step --- .github/workflows/module-plugin-test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/module-plugin-test.yml b/.github/workflows/module-plugin-test.yml index f4be8a1..f1c7304 100644 --- a/.github/workflows/module-plugin-test.yml +++ b/.github/workflows/module-plugin-test.yml @@ -163,14 +163,16 @@ jobs: if: ${{ steps.build.outputs.hasBuildCommand != 'false' }} run: npm run build - # step to sync js package files with build files - - name: Setup Registry for Plugin run: printf "\n//npm.pkg.github.com/:_authToken=${{ secrets.NEWFOLD_ACCESS_TOKEN }}" >> .npmrc - name: NPM Install for Plugin run: npm ci --legacy-peer-deps + # - name: Sync Module build files to node_modules dir + # if: ${{ steps.build.outputs.hasBuildCommand != 'false' }} + # run: rsync -r vendor/${{ inputs.module-repo }}/build node_modules/@${{ inputs.module-repo }}/build + - name: Build Plugin run: npm run build