Skip to content

Commit

Permalink
ci(prettier): workaround to ignore gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
crimx committed Dec 31, 2024
1 parent 96c292c commit 8dddea9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Build Docs 📖
run: |
sed -i '' '/docs/d' .prettierignore .gitignore
npm run docs
run: npm run docs

- name: Clone V5 Docs 📖
run: |
Expand Down
4 changes: 1 addition & 3 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
dist/*
coverage/*
docs/*
CHANGELOG.md
pnpm-lock.yaml
package-lock.json
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"lint": "eslint && prettier --check .",
"lint:fix": "eslint --fix && prettier --write .",
"ts-check": "tsc --noEmit",
"docs": "typedoc --options typedoc.json && prettier --write docs",
"docs": "typedoc --options typedoc.json && prettier --ignore-path .prettierignore --write docs",
"test": "vitest",
"test:coverage": "vitest --coverage",
"test:ci": "vitest --coverage",
Expand Down

0 comments on commit 8dddea9

Please sign in to comment.