Skip to content

Commit

Permalink
Create fix_peer_dependencies.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
angeousta authored Dec 4, 2023
1 parent 12bd68d commit a72032b
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/fix_peer_dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Fix Peer Dependencies

on:
push:
branches:
- main

jobs:
fix-peer-dependencies:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 14

- name: Install dependencies
run: npm install

- name: Fix peer dependencies
run: npm update

- name: Commit changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add .
git commit -m "Fix conflicting peer dependencies"
- name: Push changes
uses: ad-m/[email protected]
with:
branch: fix-peer-dependencies

- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
branch: fix-peer-dependencies
commit-message: "Fix conflicting peer dependencies"
title: "Fix conflicting peer dependencies"
body: "This pull request fixes conflicting peer dependencies."

0 comments on commit a72032b

Please sign in to comment.