diff --git a/.github/workflows/module-plugin-test.yml b/.github/workflows/module-plugin-test.yml index 7b7184d..aaae6c8 100644 --- a/.github/workflows/module-plugin-test.yml +++ b/.github/workflows/module-plugin-test.yml @@ -111,6 +111,12 @@ jobs: - name: Install PHP Dependencies for Plugin run: composer install --no-progress --no-dev --optimize-autoloader --prefer-dist + - 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: Get Module Source run: | composer reinstall ${{ inputs.module-repo }} --prefer-source @@ -169,12 +175,6 @@ jobs: if: ${{ steps.build.outputs.hasBuildCommand != 'false' }} run: npm run build - - 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: ${{ inputs.sync-npm-package }} run: rsync -r vendor/${{ inputs.module-repo }}/build node_modules/@${{ inputs.module-repo }}/build