This repository has been archived by the owner on Sep 10, 2024. It is now read-only.
Bump @tinacms/cli from 1.5.13 to 1.5.26 #47
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: Update TinaCMS Dependencies | |
on: | |
push: | |
branches: | |
- dependabot/npm_and_yarn/** | |
jobs: | |
update-tinacms: | |
runs-on: ubuntu-latest | |
steps: | |
# Clone repo | |
- name: Check out repo to update | |
uses: actions/checkout@v2 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
# Install deps, update Tina packages, update schema | |
- name: Install dependencies | |
run: yarn install | |
- name: Update Tina packages | |
run: yarn upgrade tinacms@latest @tinacms/cli@latest | |
- name: Update Schema | |
run: yarn tinacms audit | |
# Commit changes | |
- name: Commit changes back to branch | |
uses: EndBug/add-and-commit@v9 | |
with: | |
message: "Update TinaCMS generated files" | |
branch: ${{ github.ref }} | |
committer_name: GitHub Actions | |
committer_email: actions@github.com |