Update browserslist #69
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 | |
on: | |
schedule: | |
- cron: "15 14 * * 3" | |
permissions: | |
contents: write | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: latest | |
cache: 'npm' | |
- name: Update browsers list | |
run: npx --yes browserslist --update-db | |
- name: Save updated db | |
run: | | |
git config user.name github-actions | |
git config user.email github-actions@github.com | |
git add package-lock.json | |
git commit -m "chore: bump browserslist" | |
git push origin HEAD:main |