perf: optimize calculating monthly report data and add package manager #61
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
# Find unused files, dependencies and exports in JavaScript and TypeScript projects. | |
name: Knip | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
jobs: | |
knip: | |
name: Knip | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: Set up latest Yarn | |
uses: threeal/setup-yarn-action@v2.0.0 | |
with: | |
version: latest | |
cache: true | |
- name: Check Knip | |
continue-on-error: true | |
run: yarn knip |