Skip to content

perf: json5

perf: json5 #5

Workflow file for this run

name: on_push
on:
workflow_dispatch:
push:
branches:
- 'main'
jobs:
on_push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
with:
fetch-depth: 0
- uses: actions/setup-node@v4.0.1
- run: npm i json5
- run: npm i tsc
- id: updateMd
run: npm exec tsx ./src/updateMd.ts
- name: Git commit
id: commit
run: |
git config --local user.email github-actions[bot]@users.noreply.github.com
git config --local user.name github-actions[bot]
git config --global core.autocrlf true
git config --global core.safecrlf false
git status
git add .
git commit -a -m "doc: README.md"
continue-on-error: true
- name: Git push
if: ${{ steps.commit.outcome == 'success' }}
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}