Skip to content

feat: integrated a spell check tool #134

feat: integrated a spell check tool

feat: integrated a spell check tool #134

Workflow file for this run

name: CI
on:
push:
branches:
- "**"
pull_request:
branches: [develop]
types: [opened, reopened, synchronize]
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install and Build 🔧
run: |
npm install
npx prettier --check "**/*.{graphql,yml,json,md,sh}"
npm run build
- name: Install cSpell
run: npm install -g cspell
- name: Spell Check 📝
run: npx cspell "**/*.{graphql,yml,json,md,sh}" --ignore "$(cat .gitignore | grep -v '^#' | grep -v '^$' | sed 's/^/!/' | tr '\n' ',')"
- name: Deploy 🚀
if: github.ref == 'refs/heads/develop'
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build