Skip to content

feat(han-communication): add the han-readability output style (#174) #331

feat(han-communication): add the han-readability output style (#174)

feat(han-communication): add the han-readability output style (#174) #331

Workflow file for this run

name: CI
# Lint and test the repo with the same npm-pinned tools contributors run
# locally (prek + Prettier + ShellCheck for lint, Bats for tests). Everything is
# installed by `npm ci` from the committed package-lock.json, so CI and local
# use identical versions.
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.3
- uses: actions/setup-node@v6.4.0
with:
node-version: lts/*
cache: npm
- name: Cache prek hook environments
uses: actions/cache@v5.0.5
with:
path: ~/.cache/prek
key: prek-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }}
restore-keys: |
prek-${{ runner.os }}-
- run: npm ci
- run: npm run lint
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.3
- uses: actions/setup-node@v6.4.0
with:
node-version: lts/*
cache: npm
- run: npm ci
- run: npm test