Skip to content

Repository files navigation

Consent GitHub Actions

A collection of reusable GitHub Actions for Consent projects.

Actions

Analyze bundle size differences using rsdoctor and comment on PRs.

Usage:

- uses: consentdotio/github-actions/bundle-analysis-action@mainwith:
github_token: ${{ secrets.GITHUB_TOKEN }}base_dir: .bundle-basecurrent_dir: .

See bundle-analysis-action/README.md for full documentation.

Deploy docs to Vercel and manage sticky PR comments with customizable branding.

Usage:

- uses: consentdotio/github-actions/docs-preview-action@mainwith:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}vercel_token: ${{ secrets.VERCEL_TOKEN }}vercel_project_id: ${{ secrets.VERCEL_PROJECT_ID }}vercel_org_id: ${{ secrets.VERCEL_ORG_ID }}

See docs-preview-action/README.md for full documentation.

Development

This repository uses pnpm workspaces. Each action is self-contained but shares common tooling.

Setup

# Install all dependencies
pnpm install
# Build all actions
pnpm build
# Test all actions
pnpm test# Lint all actions
pnpm lint
# Format all actions
pnpm fmt
# Type check all actions
pnpm check-types

Working on a specific action

# Navigate to the action directorycd bundle-analysis-action
# Install dependencies (if needed)
pnpm install
# Run action-specific commands
pnpm build
pnpm test
pnpm lint

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages