Skip to content

Commit

Permalink
ci: 👷 add cspell github workflow
Browse files Browse the repository at this point in the history
upgrade additional deps
  • Loading branch information
spences10 committed Aug 20, 2023
1 parent 16c2dac commit 44997b4
Show file tree
Hide file tree
Showing 10 changed files with 1,002 additions and 292 deletions.
Empty file.
Empty file added .cspell/code.txt
Empty file.
Empty file added .cspell/my-words.txt
Empty file.
21 changes: 21 additions & 0 deletions .cspell/names.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Contentful
DOFT
Gorman
Jamstack
Karmarama
Lottie
ncsc
Penfold
Pinstagram
Preact
Prebon
quants
RAFTA
ROSCA
Sanctioners
scottspence
Storyblok
Strapi
tailwindcss
Tullett
Zaizi
25 changes: 25 additions & 0 deletions .github/workflows/spelling-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: 'Check: Spelling'
on:
push:
branches: [main]
pull_request:
branches: [main]
types: [opened, synchronize]

jobs:
spelling-check:
name: Check spelling
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: pnpm/[email protected]
with:
version: 6.0.2
- uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install dependencies
run: pnpm install
- name: Check spelling
run: pnpm run cspell
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ node_modules
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
.vercel_build_output
.vercel
.vercel
.env*.local
28 changes: 0 additions & 28 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,4 @@
"css.validate": false,
"git.enableSmartCommit": true,
"git.postCommitCommand": "sync",
"cSpell.words": [
"abbr",
"color",
"Contentful",
"daisyui",
"Deloitte",
"Dialogflow",
"DOFT",
"Gorman",
"mdsvex",
"ncsc",
"noopener",
"noreferrer",
"Prebon",
"quants",
"RAFTA",
"rehype",
"ROSCA",
"Sanctioners",
"Storyblok",
"svead",
"sveltejs",
"Tullett",
"vercel",
"VITE",
"Xstate",
"Zaizi"
]
}
35 changes: 35 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"version": "0.2",
"language": "en-GB",
"ignorePaths": ["node_modules/**/*"],
"dictionaryDefinitions": [
{
"name": "cambridge_dictionary",
"path": ".cspell/cambridge-dictionary-words.txt",
"addWords": true
},
{
"name": "my_words",
"path": ".cspell/my-words.txt",
"addWords": true
},
{
"name": "names",
"path": ".cspell/names.txt",
"addWords": true
},
{
"name": "code",
"path": ".cspell/code.txt",
"addWords": true
}
],
"dictionaries": [
"cambridge_dictionary",
"names",
"my_words",
"code"
],
"ignoreWords": [],
"import": []
}
20 changes: 11 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,21 @@
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"test:unit": "vitest",
"lint": "prettier --plugin-search-dir . --check . && eslint .",
"format": "prettier --plugin-search-dir . --write ."
"format": "prettier --plugin-search-dir . --write .",
"cspell": "cspell '**/*.md' --config cspell.json --wordsOnly"
},
"devDependencies": {
"@playwright/test": "^1.29.2",
"@playwright/test": "^1.37.1",
"@sveltejs/adapter-vercel": "3.0.3",
"@sveltejs/kit": "1.22.6",
"@tailwindcss/typography": "0.5.9",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.4.0",
"autoprefixer": "10.4.15",
"cspell": "^7.0.0",
"daisyui": "3.5.1",
"date-fns": "2.30.0",
"eslint": "^8.32.0",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-svelte3": "^4.0.0",
"fathom-client": "3.5.0",
Expand All @@ -35,13 +37,13 @@
"remark-external-links": "9.0.1",
"svead": "^0.0.4",
"svelte": "4.2.0",
"svelte-check": "^3.0.2",
"svelte-check": "^3.5.0",
"svelte-preprocess": "5.0.4",
"tailwindcss": "3.3.3",
"theme-change": "2.5.0",
"tslib": "^2.4.1",
"typescript": "^5.0.0",
"tslib": "^2.6.2",
"typescript": "^5.1.6",
"vite": "4.4.9",
"vitest": "^0.34.0"
"vitest": "^0.34.2"
}
}
Loading

1 comment on commit 44997b4

@vercel
Copy link

@vercel vercel bot commented on 44997b4 Aug 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

cv – ./

cv-git-main-spences10.vercel.app
cv-spences10.vercel.app
mecv.xyz
www.mecv.xyz

Please sign in to comment.