Update Soup Reference #135
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 Soup Reference | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
update-soup-reference: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "20" | |
- name: Install dependencies | |
run: npm install | |
- name: Add @tscircuit/soup | |
run: npm add @tscircuit/soup@latest | |
- name: Generate Soup Reference | |
run: npm run generate-soup-reference | |
- name: Commit changes | |
run: | | |
git config user.name "github-actions[bot]" | |
git config user.email "github-actions[bot]@users.noreply.github.com" | |
git add . | |
git commit -m "Update Soup Reference" | |
git push |