Skip to content

docs: migrate to the shared @coreui/astro-docs engine (#486) #21

docs: migrate to the shared @coreui/astro-docs engine (#486)

docs: migrate to the shared @coreui/astro-docs engine (#486) #21

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
test:
name: Build & test (Node ${{ matrix.node-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [20.x, 22.x]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
# yarn.lock is gitignored in this repo, so there is no lockfile to pin
# against or to key a cache on — install resolves from package.json.
- run: yarn install --ignore-engines
- run: yarn lib:build
- run: yarn lib:test
lint:
name: Lint
runs-on: ubuntu-latest
# Non-blocking for now: a handful of react-hooks v7 findings and one
# deferred public type are still open. Drop continue-on-error once the
# remaining errors are resolved to make lint a required check.
continue-on-error: true
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22.x
- run: yarn install --ignore-engines
- run: yarn lint