Skip to content

feat: use shiki to highlight code and move to ESM #13

feat: use shiki to highlight code and move to ESM

feat: use shiki to highlight code and move to ESM #13

Workflow file for this run

name: Lint
on:
push:
pull_request:
branches:
- master
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [18.x, 22.x]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Cache ~/.pnpm-store
uses: actions/cache@v4
env:
cache-name: cache-pnpm-store
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ matrix.node-version }}-test-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-${{ matrix.node-version }}-test-${{ env.cache-name }}-
${{ runner.os }}-${{ matrix.node-version }}-test-
${{ runner.os }}-
- run: corepack enable
- run: pnpm i
env:
COREPACK_ENABLE_DOWNLOAD_PROMPT: 0
- run: pnpm lint