Skip to content
This repository was archived by the owner on Nov 19, 2025. It is now read-only.

feat: add cspell

feat: add cspell #10

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
syncpack:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22.14.0
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Run syncpack
run: pnpm syncpack-lint
editorconfig:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22.14.0
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Run EditorConfig Checker
run: pnpm editorconfig-checker
commitlint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22.14.0
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Validate current commit (last commit) with commitlint
if: github.event_name == 'push'
run: pnpm commitlint --last --verbose
- name: Validate PR commits with commitlint
if: github.event_name == 'pull_request'
run: pnpm commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose # editorconfig-checker-disable-line
cspell:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22.14.0
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Run cspell
run: pnpm cspell .