diff --git a/action.yml b/action.yml index 447206e..f4d1337 100644 --- a/action.yml +++ b/action.yml @@ -47,9 +47,9 @@ runs: run: | yarn add -DE @vercel/ncc echo "Compiling plugin..." - yarn ncc build ${{ inputs.pluginEntry }} -m ${{ inputs.sourcemap == 'true' && '-s' || '' }} -o dist + yarn ncc build ${{ inputs.pluginEntry }} -e "**/*.test.ts" -m ${{ inputs.sourcemap == 'true' && '-s' || '' }} -o dist echo "Compiling plugin types..." - yarn ncc build ${{ inputs.schemaPath }} -m -o plugin + yarn ncc build ${{ inputs.schemaPath }} -e "**/*.test.ts" -m -o plugin - name: Replace __dirname with import.meta.dirname if: ${{ inputs.treatAsEsm }}