Update WPT data #59
This file contains hidden or 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 WPT data | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check-out the repository | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: npm ci | |
- name: Run the update-wpt script | |
run: node additional-data/scripts/update-wpt.js | |
- name: Commit changes | |
run: | | |
git config --local user.email "${{ github.actor }}@users.noreply.github.com" | |
git config --local user.name "${{ github.actor }}" | |
git add . | |
git commit -m "Refresh WPT data" --allow-empty | |
git push origin main |