Skip to content

feat: convert @cspell/cspell-resolver to ESM module #8950

feat: convert @cspell/cspell-resolver to ESM module

feat: convert @cspell/cspell-resolver to ESM module #8950

Workflow file for this run

name: cSpell-cli
on:
pull_request:
push:
branches:
- main
# Run on demand
workflow_dispatch:
permissions:
contents: read
jobs:
cspell:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v2.4.0
- name: Use Node.js
uses: actions/setup-node@v4
with:
cache: pnpm
- run: pnpm -v
- # It is necessary to run `pnpm i` in order install some dictionaries.
name: prepare-cspell-action
run: pnpm i
- run: pnpm --filter @cspell/cspell-types --filter @cspell/cspell-bundled-dicts run build
- name: Restore CSpell cache
uses: actions/cache@v3
with:
key: cspell-cache-v2-${{ runner.os }}-${{ hashFiles('**/*.ts', '**/*.md') }}
path: |
.cspellcache
restore-keys: |
cspell-cache-v2-${{ runner.os }}-
- name: cspell@latest
run: npx cspell@latest --cache --cache-strategy=content --cache-location=.cspellcache --exclude="yarn2" --no-progress "**"
# run: npx cspell@latest --cache --cache-strategy=content --cache-location=.cspellcache --exclude="yarn2" "**"