Skip to content

Commit c72e050

Browse files
committed
bump GH actions & deps, add setup docs, cleanup
1 parent 27812fa commit c72e050

File tree

4 files changed

+28
-6
lines changed

4 files changed

+28
-6
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: Lint
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4.1.1
14+
- uses: actions/checkout@v5
1515

1616
- name: Internal github app token
1717
id: token
@@ -66,15 +66,15 @@ jobs:
6666
name: Check Typos
6767
runs-on: ubuntu-latest
6868
steps:
69-
- uses: actions/checkout@v4.1.1
69+
- uses: actions/checkout@v5
7070
- name: Check spelling with typos
7171
uses: crate-ci/typos@master
7272

7373
job_test:
7474
name: Test
7575
runs-on: ubuntu-latest
7676
steps:
77-
- uses: actions/checkout@v4.1.1
77+
- uses: actions/checkout@v5
7878
- name: Set up Node
7979
uses: actions/setup-node@v4
8080
with:

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ repos:
3131
- id: eslint
3232
entry: node_modules/.bin/eslint
3333
- repo: https://github.com/crate-ci/typos
34-
rev: v1.26.8
34+
rev: v1.39.0
3535
hooks:
3636
- id: typos

docs/contributing/environment.mdx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,26 @@ Additionally we use prettier to format our code and markdown. Run prettier if yo
5454
```bash
5555
yarn lint:prettier:fix
5656
```
57+
58+
### Running typos locally
59+
60+
We use [typos](https://github.com/crate-ci/typos) to check for spelling errors.
61+
62+
**Option 1: Via pre-commit**
63+
64+
```bash
65+
make develop # Sets up pre-commit hooks
66+
pre-commit run typos --all-files
67+
```
68+
69+
**Option 2: Direct command**
70+
71+
First, install typos:
72+
- macOS/Linux: `brew install typos-cli`
73+
- Cross-platform: `cargo install typos-cli` (requires Rust)
74+
- Or download from [GitHub releases](https://github.com/crate-ci/typos/releases)
75+
76+
Then run:
77+
```bash
78+
yarn lint:typos
79+
```

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,5 @@
151151
"volta": {
152152
"node": "22.16.0",
153153
"yarn": "1.22.22"
154-
},
155-
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
154+
}
156155
}

0 commit comments

Comments
 (0)