diff --git a/.github/workflows/cspell.yml b/.github/workflows/cspell.yml new file mode 100644 index 0000000..71feda2 --- /dev/null +++ b/.github/workflows/cspell.yml @@ -0,0 +1,13 @@ +name: "Check spelling" +on: + pull_request: + +jobs: + spellcheck: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: streetsidesoftware/cspell-action@v5 + with: + files: "*.{rs,ts,tsx,md}" + incremental_files_only: false diff --git a/.github/workflows/deno.yml b/.github/workflows/deno.yml index 895fb3e..58add89 100644 --- a/.github/workflows/deno.yml +++ b/.github/workflows/deno.yml @@ -10,9 +10,17 @@ name: Deno on: push: - branches: ["main"] + branches: + - "main" + paths: + - "**.json" + - "**.ts" + - "**.tsx" pull_request: - branches: ["main"] + paths: + - "**.json" + - "**.ts" + - "**.tsx" permissions: contents: read diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 81ee3ea..9efb95f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,9 +1,19 @@ name: Deploy + on: push: - branches: [main] + branches: + - main + paths: + - "**.json" + - "**.ts" + - "**.tsx" + pull_request: - branches: main + paths: + - "**.json" + - "**.ts" + - "**.tsx" jobs: deploy: diff --git a/.vscode/settings.json b/.vscode/settings.json index 58640be..cbac569 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,3 @@ { - "deno.enable": true, - "cSpell.words": [ - "tailwind" - ] + "deno.enable": true } diff --git a/cspell.json b/cspell.json new file mode 100644 index 0000000..d91f6a9 --- /dev/null +++ b/cspell.json @@ -0,0 +1,22 @@ +{ + "$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json", + "version": "0.2", + "useGitignore": true, + "dictionaries": [ + "html", + "en_US", + "softwareTerms", + "typescript", + "css", + "node", + "rust", + "npm", + "fonts", + "filetypes" + ], + "words": [ + "9renpoto", + "bluesky", + "denoland" + ] +}