Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on:
pull_request:
push:
branches:
- main

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 24
cache: npm
- run: npm ci
- run: npm run typecheck
- run: npm test
- run: npm run check-dist
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules/
coverage/
lib/
.DS_Store
*.log
27 changes: 27 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Contributing

## Local Setup

```bash
npm install
npm test
npm run typecheck
npm run build
```

## Release Build

The action runs from `dist/index.js`, so source changes must be bundled before a
release.

```bash
npm run build
git diff -- dist/index.js
```

## Design Notes

- Keep the action dependency-light.
- Preserve compatibility with the Keito CLI v2 API contract.
- Add tests for every new event parser or billing heuristic.
- Do not log API keys, GitHub tokens, or full request headers.
Loading
Loading