elevate-rehab-v3

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

update-dependabot-pr.yml (922B)


      1 name: Update TinaCMS Dependencies
      2 on:
      3   push:
      4     branches:
      5       - dependabot/npm_and_yarn/**
      6 
      7 jobs:
      8   update-tinacms:
      9     runs-on: ubuntu-latest
     10     steps:
     11       # Clone repo
     12       - name: Check out repo to update
     13         uses: actions/checkout@v2
     14       - name: Setup node
     15         uses: actions/setup-node@v3
     16         with:
     17           node-version: 18
     18       # Install deps, update Tina packages, update schema
     19       - name: Install dependencies
     20         run: yarn install
     21       - name: Update Tina packages
     22         run: yarn upgrade tinacms@latest @tinacms/cli@latest
     23       - name: Update Schema
     24         run: yarn tinacms audit
     25       # Commit changes
     26       - name: Commit changes back to branch
     27         uses: EndBug/add-and-commit@v9
     28         with:
     29           message: "Update TinaCMS generated files"
     30           branch: ${{ github.ref }}
     31           committer_name: GitHub Actions
     32           committer_email: actions@github.com