Skip to content

update-html-data

update-html-data #982

name: update-html-data
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
update-html-data:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- run: pnpm install
# update data
- name: Update HTML Data
run: cd packages/language-service && pnpm run update-html-data
# commit
- name: Commit
uses: EndBug/add-and-commit@v9
with:
message: "ci(language-service): update html data"
add: "packages/language-service/data"
default_author: github_actions
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}