[Bug]: With an nx.json config, npx cap sync
hooks (capacitor:sync:before and capacitor:sync:after) are executing from the node_modules instead of the repo root
#21957
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Capacitor Bot | |
on: | |
push: | |
branches: [main] | |
issues: | |
types: [opened, edited, labeled] | |
pull_request: | |
types: [opened] | |
issue_comment: | |
types: [created] | |
jobs: | |
bot: | |
name: ${{ github.event_name }}/${{ github.event.action }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ionic-team/bot@main | |
with: | |
repo-token: ${{ secrets.BOT_TOKEN }} | |
env: | |
GIT_AUTHOR_NAME: Ionitron | |
GIT_AUTHOR_EMAIL: [email protected] | |
GIT_COMMITTER_NAME: Ionitron | |
GIT_COMMITTER_EMAIL: [email protected] |