Skip to content

build(deps-dev): bump npm-run-all2 from 7.0.1 to 7.0.2 #323

build(deps-dev): bump npm-run-all2 from 7.0.1 to 7.0.2

build(deps-dev): bump npm-run-all2 from 7.0.1 to 7.0.2 #323

Workflow file for this run

# For more information see: https://docs.github.com/en/actions/
name: Dedupe CI
on:
pull_request:
branches: ['main']
paths: ['package.json', 'yarn.lock']
workflow_dispatch:
permissions: write-all
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Install deduplicate packages
run: yarn dedupe
- name: Commit and push new yarn.lock
run: |
if [[ `git status --porcelain yarn.lock` ]]; then
git config --global user.name 'github-actions'
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
git add yarn.lock
git commit -m "build(yarn): de-duplicate entries"
git push
fi