Skip to content

made the requested changes. #11

made the requested changes.

made the requested changes. #11

Workflow file for this run

name: Update Browserslist database
on: [push]
permissions:
contents: write
pull-requests: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure git
run: |
# Setup for commiting using built-in token. See https://github.com/actions/checkout#push-a-commit-using-the-built-in-token
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- uses: actions/setup-node@v1
with:
node-version: '22'
- run: npm install
- name: Update Browserslist database and create PR if applies
uses: c2corg/[email protected]
with:
github_token: ${{ github.token }}
commit_message: 'chore: update Browserslist db'
title: 'Update Browserslist database'
body: 'Auto-generated by `.github/workflows/browserslist.yml` using c2corg/browserslist-update-action'
labels: 'dependencies,fast tracked,process,size/XS'
reviewers: 'doamatto'