Chore: Update deps #55
This file contains hidden or 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: "Chore: Update deps" | |
| on: | |
| schedule: | |
| - cron: "0 3 * * *" | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| update-deps: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| fetch-depth: 0 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "lts/*" | |
| - name: Setup Tachyon | |
| run: | | |
| npm i -g --allow-remote=root https://github.com/Zenith-Team/Tachyon/releases/latest/download/tachyon.tgz | |
| - name: Update deps | |
| run: tachyon pm update | |
| - name: Commit changes | |
| uses: peter-evans/create-pull-request@v6 | |
| with: | |
| commit-message: "🤖 (chore): Update deps" | |
| title: "🤖 (chore): Update deps" | |
| branch: "bot-update-deps" | |
| delete-branch: true | |
| committer: "GitHub Actions <actions@github.com>" | |
| author: "GitHub Actions <actions@github.com>" |