From ea584aceeae316dde770992ed29c411e119b2068 Mon Sep 17 00:00:00 2001 From: coderiaser Date: Thu, 4 Jun 2026 15:33:54 +0300 Subject: [PATCH] chore: actions: typos.ai --- .github/workflows/nodejs.yml | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index b9e5759b..607f249f 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -6,8 +6,6 @@ jobs: runs-on: ubuntu-latest env: NAME: cloudcmd - TYPOS_AI_KEY: ${{ secrets.TYPOS_AI_KEY }} - TYPOS_AI_RUN: 1 strategy: matrix: node-version: @@ -24,24 +22,15 @@ jobs: with: node-version: ${{ matrix.node-version }} - name: Install Redrun - run: bun i redrun typos.ai palabra -g --no-save + run: bun i redrun -g --no-save - name: Install run: bun i --no-save - name: Lint run: redrun fix:lint - - uses: actions/cache@v5 + - name: Typos + uses: coderaiser/typos.ai@v1.1.2 with: - path: | - ~/.cargo/bin/ - ~/.cargo/registry/index/ - ~/.cargo/registry/cache/ - ~/.cargo/git/db/ - target/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - - name: Typos Install - run: palabra i typos - - name: Typos - run: typos.ai + key: ${{ secrets.TYPOS_AI_KEY }} - name: Commit fixes uses: EndBug/add-and-commit@v10 continue-on-error: true