diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..9f4fe45 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,31 @@ +name: CI + +on: + push: + branches: main + pull_request: + branches: '*' + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + spell-check: + name: Spell Check + permissions: + contents: read + timeout-minutes: 10 + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Base Setup + uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 + + - name: Install JupyterLab + run: python -m pip install -U "jupyterlab>=4.0.0,<5" + + - name: Run spell check + run: npx cspell@9.2.1 "**/*.{md,txt,json,js,ts,tsx,jsx,yml,yaml}" diff --git a/cspell.json b/cspell.json new file mode 100644 index 0000000..90a11a7 --- /dev/null +++ b/cspell.json @@ -0,0 +1,67 @@ +{ + "version": "0.2", + "ignorePaths": [ + "node_modules", + "package-lock.json", + "yarn.lock", + "dist", + "lib", + "build", + "coverage", + ".vscode", + ".git", + "*.min.js", + "*.min.css", + "*.map", + "jupyterlab_deepnote/labextension" + ], + "language": "en", + "overrides": [ + { + "filename": "**/*.md", + "words": [ + "deepnote", + "jupyter", + "jupyterlab", + "ipynb", + "labextension", + "jlpm", + "pnpm", + "monorepo" + ] + } + ], + "words": [ + "apputils", + "bdist", + "chakra", + "codegen", + "coreutils", + "csstree", + "deepnote", + "ipynb", + "Jakubowski", + "jlpm", + "jpserver", + "jupyter", + "jupyterlab", + "labextension", + "labextensions", + "lintcache", + "lumino", + "monorepo", + "nbformat", + "pnpm", + "pyproject", + "Pytest", + "pytest", + "rseidelsohn", + "sdist", + "settingregistry", + "stylelintcache", + "testutils", + "venv", + "ydoc" + ], + "useGitignore": true +}