Update Dependencies #9
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: Update Dependencies | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| on: | |
| schedule: | |
| # Run every Monday at 9:00 AM UTC | |
| - cron: '0 9 * * 1' | |
| workflow_dispatch: | |
| jobs: | |
| update-dependencies: | |
| name: π Update Dependencies | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: β¬οΈ Checkout repo | |
| uses: actions/checkout@v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: π¦ Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: β Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'pnpm' | |
| - name: π¦ Install dependencies | |
| run: pnpm install | |
| - name: π Update dependencies | |
| run: | | |
| pnpm update --latest --recursive | |
| pnpm install | |
| - name: π§ͺ Run tests | |
| run: pnpm turbo run test | |
| continue-on-error: true | |
| - name: π Build packages | |
| run: pnpm turbo run build | |
| continue-on-error: true | |
| - name: π Create Pull Request | |
| uses: peter-evans/create-pull-request@v6 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| commit-message: 'chore: update dependencies' | |
| title: 'chore: update dependencies' | |
| body: | | |
| This PR updates all dependencies to their latest versions. | |
| ## Changes | |
| - Updated all dependencies to latest versions | |
| ## Testing | |
| - [ ] CI tests pass | |
| - [ ] Manual testing required | |
| ## Notes | |
| Please review the changes carefully and test thoroughly before merging. | |
| branch: chore/update-dependencies | |
| delete-branch: true | |
| base: main |