This PR migrates the package manager from `npm` to `pnpm`. ### Changes: - Replaced `package-lock.json` with `pnpm-lock.yaml` and `pnpm-workspace.yaml`. - Updated `.gitea/workflows/test.yaml` to include `pnpm/action-setup@v4` and use `pnpm install` / `pnpm test`. - Updated `renovate.json` to match `pnpm` manager and execute `pnpm install --frozen-lockfile` and `pnpm run build`. - Updated `.pre-commit-config.yaml` to exclude `pnpm-lock.yaml` from `pretty-format-yaml`. - Updated documentation in `README.md` and `GEMINI.md`. - Rebuilt `dist/index.js`.Reviewed-on: #110
21 lines
438 B
YAML
21 lines
438 B
YAML
name: Test
|
|
|
|
on:
|
|
push:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
test:
|
|
name: Run Tests
|
|
runs-on: pi
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
|
with:
|
|
node-version: '24'
|
|
- uses: pnpm/action-setup@v4
|
|
- run: pnpm install --frozen-lockfile
|
|
shell: bash
|
|
- run: pnpm test
|
|
shell: bash
|