Skip to content

update-html-data

update-html-data #51

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