Update browserslist database #92
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 browserslist database | |
on: | |
schedule: | |
- cron: '0 16 * * 5' | |
workflow_dispatch: | |
jobs: | |
browserslist-update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
ref: 'master' | |
- name: Setup node.js | |
uses: volta-cli/action@v4 | |
- name: Run browserslist update | |
run: npm run browserslist-update | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
branch: 'feature/browserslist-update' | |
delete-branch: true | |
commit-message: 'update browserslist database' | |
title: 'Update browserslist database' |