From 9e88126a101ff3ec88a9b8f0c07a3efba8e62b0f Mon Sep 17 00:00:00 2001 From: Aric Camarata Date: Wed, 25 Feb 2026 15:25:43 -0500 Subject: [PATCH] chore: add forceConsistentCasingInFileNames to tsconfig; fix wiki-sync action --- .github/workflows/wiki-sync.yml | 21 ++++++++++++--------- tsconfig.json | 1 + 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/workflows/wiki-sync.yml b/.github/workflows/wiki-sync.yml index 0254f5e..61c205b 100644 --- a/.github/workflows/wiki-sync.yml +++ b/.github/workflows/wiki-sync.yml @@ -1,4 +1,4 @@ -name: Wiki sync +name: Wiki Sync on: push: @@ -6,17 +6,20 @@ on: paths: - '.wiki/**' +permissions: + contents: write + jobs: sync: - name: Sync .wiki to GitHub Wiki + name: Sync wiki to GitHub Wiki runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Sync wiki pages - uses: nicenshtein/wiki-page-creator-action@v1 - env: - GH_PAT: ${{ secrets.GH_PAT }} + + - name: Sync .wiki/ to GitHub Wiki + uses: Andrew-Chen-Wang/github-wiki-action@v4 with: - owner: acamarata - repo-name: date-fns-hijri - md-folder: .wiki + path: .wiki/ + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_ACTOR: ${{ github.actor }} diff --git a/tsconfig.json b/tsconfig.json index e05618c..e89eff8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,6 +4,7 @@ "module": "ESNext", "moduleResolution": "bundler", "strict": true, + "forceConsistentCasingInFileNames": true, "esModuleInterop": true, "declaration": true, "declarationMap": true,