-
-
Notifications
You must be signed in to change notification settings - Fork 59
38 lines (32 loc) · 902 Bytes
/
update-browserlist-db.yml
File metadata and controls
38 lines (32 loc) · 902 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Update browserlist DB
on:
schedule:
- cron: '0 6 * * MON'
workflow_dispatch: {}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup git
id: setup-git
uses: ./.github/actions/setup-git-as-bot
with:
app-id: ${{ vars.MH_BOT_APP_ID }}
app-private-key: ${{ secrets.MH_BOT_APP_PRIVATE_KEY }}
- name: Use Node.js 24
uses: actions/setup-node@v4
with:
node-version: '24'
- name: Update browserslist-db
run: |
yarn dlx update-browserslist-db@latest
- name: Commit changes
id: commit
uses: iarekylew00t/verified-bot-commit@v2
with:
token: ${{ steps.setup-git.outputs.token }}
files: |
yarn.lock
message: 'chore(action): update browserlist-db'