fix(deps): update dependency react-router-dom to v7 #1661
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: 'Unused Dependencies' | |
on: [pull_request] | |
permissions: | |
contents: read | |
jobs: | |
unused-dependecies: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout Repository' | |
uses: actions/checkout@v4 | |
- name: 'Setup Node.js' | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '18.x' | |
- name: 'Run depcheck' | |
run: | | |
npx depcheck --skip-missing --ignores="@babel/*,@commitlint/*,eslint,eslint-*,husky,mocha,concurrently,nyc,prettier" | |
echo $? | |
if [[ $? == 1 ]]; then | |
echo "Unused dependencies or devDependencies found" | |
exit 1 | |
fi | |