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