Skip to content

Commit

Permalink
added unused binaries in knip ignore binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
abrulic1 committed Oct 7, 2024
1 parent b281ceb commit 3c1433f
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/publish-commit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: 🚀 pkg-pr-new
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"

- name: Install dependencies
run: npm install

- name: Build
run: npm run build

- run: npx pkg-pr-new publish
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,3 @@ dist
# IDE
.idea
.tsup

# Github
.github/workflows/publish-commit.yaml
3 changes: 2 additions & 1 deletion knip.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"entry": ["src/*.{ts,js}", "scripts/*.{ts,js}"],
"project": ["**/*.{js,cjs,mjs,jsx,ts,cts,mts,tsx}"],
"ignore": ["test-apps/**", "src/external/**", "docs/**", "plugins/**", "tsup*.ts", "**/rdtReducer.ts"],
"ignoreWorkspaces": ["test-apps/**", "docs/**"]
"ignoreWorkspaces": ["test-apps/**", "docs/**"],
"ignoreBinaries": ["pkg-pr-new"]
}

0 comments on commit 3c1433f

Please sign in to comment.