Skip to content

feat: actions

feat: actions #1

Workflow file for this run

name: Update README.md
on:
push:
branches: [master]
schedule:
- cron: "5 0 * * *"
workflow_dispatch:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:

Check failure on line 17 in .github/workflows/update.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/update.yaml

Invalid workflow file

You have an error in your yaml syntax on line 17
- name: Checkout
- uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
- name: Setup node with cache
uses: actions/setup-node@v4
with:
cache: pnpm
- name: Install Dependencies
run: pnpm install
- name: Update README.md
run: pnpm gen
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
message: "Generated SVG and updated README.md"
default_author: github_actions