Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
* develop:
  Install node dependencies for the plugin earlier
  • Loading branch information
circlecube committed Jan 8, 2024
2 parents 0264dcd + ba828b8 commit 1192d58
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/module-plugin-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1192d58

Please sign in to comment.