mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
chore: drop the knip workflow (#49768)
This commit is contained in:
committed by
GitHub
parent
65a7b0f9ff
commit
496235c4ad
@@ -1,45 +0,0 @@
|
||||
name: CI - Unused Exports, Types and Files
|
||||
env:
|
||||
NODE_OPTIONS: '--max_old_space_size=6144'
|
||||
on:
|
||||
schedule:
|
||||
# runs every monday at 08:45 UTC
|
||||
- cron: '45 8 * * 1'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
name: Find Unused
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
node-version: [18.x]
|
||||
|
||||
steps:
|
||||
- name: Checkout Source Files
|
||||
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 7
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: pnpm
|
||||
|
||||
- name: Set Environment variables
|
||||
run: |
|
||||
cp sample.env .env
|
||||
cat .env
|
||||
|
||||
- name: Run Checks
|
||||
run: |
|
||||
echo pnpm version $(pnpm -v)
|
||||
pnpm install
|
||||
pnpm run create:config
|
||||
pnpm run knip
|
||||
Reference in New Issue
Block a user