Skip to content

✨ add KHYPE and VKHYPE icons #253

✨ add KHYPE and VKHYPE icons

✨ add KHYPE and VKHYPE icons #253

Workflow file for this run

name: Verify package
on:
pull_request:
branches: ["main"]
paths: ["lib/**", "assets/**", "scripts/**"]
jobs:
lint-and-test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./lib/
strategy:
matrix:
node-version: [22]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9.6.0
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: "./lib/pnpm-lock.yaml"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm build
- name: Knip
run: pnpm knip
- name: Lint
run: pnpm lint
- name: Run Jest tests
run: pnpm test
- name: Check unused png files
run: pnpm check:mapping
- name: Verify index.json is committed and up to date
run: |
pnpm generate:index
git diff --exit-code -- ../assets/index.json || {
echo "::error file=assets/index.json::index.json is out of date. Run 'pnpm generate:index' locally and commit the changes.";
exit 1;
}
- name: Verify icons mapping
run: node ../scripts/verify-icons.js --concurrency 5