Skip to content

Commit ea584ac

Browse files
committed
chore: actions: typos.ai
1 parent 4d7116b commit ea584ac

1 file changed

Lines changed: 4 additions & 15 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ jobs:
66
runs-on: ubuntu-latest
77
env:
88
NAME: cloudcmd
9-
TYPOS_AI_KEY: ${{ secrets.TYPOS_AI_KEY }}
10-
TYPOS_AI_RUN: 1
119
strategy:
1210
matrix:
1311
node-version:
@@ -24,24 +22,15 @@ jobs:
2422
with:
2523
node-version: ${{ matrix.node-version }}
2624
- name: Install Redrun
27-
run: bun i redrun typos.ai palabra -g --no-save
25+
run: bun i redrun -g --no-save
2826
- name: Install
2927
run: bun i --no-save
3028
- name: Lint
3129
run: redrun fix:lint
32-
- uses: actions/cache@v5
30+
- name: Typos
31+
uses: coderaiser/typos.ai@v1.1.2
3332
with:
34-
path: |
35-
~/.cargo/bin/
36-
~/.cargo/registry/index/
37-
~/.cargo/registry/cache/
38-
~/.cargo/git/db/
39-
target/
40-
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
41-
- name: Typos Install
42-
run: palabra i typos
43-
- name: Typos
44-
run: typos.ai
33+
key: ${{ secrets.TYPOS_AI_KEY }}
4534
- name: Commit fixes
4635
uses: EndBug/add-and-commit@v10
4736
continue-on-error: true

0 commit comments

Comments
 (0)