Skip to content

chore: migrate from yarn berry to pnpm #69

chore: migrate from yarn berry to pnpm

chore: migrate from yarn berry to pnpm #69

Workflow file for this run

# 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
knip:
name: Knip
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up latest pnpm
uses: pnpm/action-setup@v4
with:
version: latest
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: 'pnpm'
- name: Install dependencies
run: pnpm i
- name: Check Knip
continue-on-error: true
run: yarn knip