update-html-data #18
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-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 }} |