Skip to content

Commit

Permalink
add module build sync step
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Dec 14, 2023
1 parent f788a4d commit 5ac1670
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/module-plugin-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5ac1670

Please sign in to comment.