[Snyk] Upgrade react-router-dom from 6.27.0 to 6.28.0 #10
Workflow file for this run
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: Snyk Update | |
on: pull_request | |
permissions: | |
checks: write | |
contents: write | |
pull-requests: write | |
jobs: | |
snyk-update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Checkout PR | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: gh pr checkout ${{ github.event.pull_request.number }} | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "22" # Specify the Node.js version you use | |
- name: Set up Bun | |
uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: "latest" # Specify the Bun version you want | |
- name: Set up pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: "latest" # Specify the pnpm version you want | |
- name: Install Bun dependencies | |
run: bun install -y | |
- name: Update npm dependencies | |
run: npm install --package-lock-only | |
- name: Update pnpm dependencies | |
run: pnpm install --no-frozen-lockfile --lockfile-only | |
- name: Commit changes | |
run: | | |
git config user.name "github-actions[bot]" | |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
git add . | |
git commit -m "chore: update dependencies" | |
- name: Push changes | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: git push --force |