mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-17 16:38:18 +00:00
chore: actions: typos.ai
This commit is contained in:
parent
4d7116b467
commit
ea584aceea
1 changed files with 4 additions and 15 deletions
19
.github/workflows/nodejs.yml
vendored
19
.github/workflows/nodejs.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue