Skip to content

Commit 54d5d02

Browse files
committed
add script & GH action
1 parent 186db22 commit 54d5d02

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ jobs:
6262
with:
6363
github-token: ${{ steps.token.outputs.token }}
6464

65+
job_typos:
66+
name: Check Typos
67+
runs-on: ubuntu-latest
68+
steps:
69+
- uses: actions/[email protected]
70+
- name: Check spelling with typos
71+
uses: crate-ci/typos@master
72+
6573
job_test:
6674
name: Test
6775
runs-on: ubuntu-latest

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"lint:eslint:fix": "eslint --fix \"{src,app,scripts}/**/*.{ts,tsx,js,jsx}\"",
2828
"lint:prettier": "prettier --check \"./{src,app,scripts}/**/*.{md,mdx,ts,tsx,js,jsx,mjs}\"",
2929
"lint:prettier:fix": "prettier --write \"./{src,app,scripts}/**/*.{md,mdx,ts,tsx,js,jsx,mjs}\"",
30+
"lint:typos": "typos",
3031
"lint:fix": "yarn run lint:prettier:fix && yarn run lint:eslint:fix",
3132
"sidecar": "yarn spotlight-sidecar",
3233
"test": "vitest",
@@ -149,5 +150,6 @@
149150
"volta": {
150151
"node": "22.16.0",
151152
"yarn": "1.22.22"
152-
}
153+
},
154+
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
153155
}

0 commit comments

Comments
 (0)