Skip to content

fix(deps): update npm - li-cli - experimental/li-cli/package.json #4738

fix(deps): update npm - li-cli - experimental/li-cli/package.json

fix(deps): update npm - li-cli - experimental/li-cli/package.json #4738

name: 'Unused Dependencies'
on: [pull_request]
permissions:
contents: read
jobs:
unused-dependecies:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2
with:
egress-policy: audit
- name: 'Checkout Repository'
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
- name: 'Setup Node.js'
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: '22.x'
- name: 'Run depcheck'
run: |
npx depcheck --skip-missing --ignores="tsx,@babel/*,@commitlint/*,eslint,eslint-*,husky,mocha,ts-mocha,ts-node,concurrently,nyc,prettier,typescript,tsconfig-paths,vite-tsconfig-paths,history,@types/domutils"
echo $?
if [[ $? == 1 ]]; then
echo "Unused dependencies or devDependencies found"
exit 1
fi