This guide explains how to set up the development environment and contribute to the github-actions-search Chrome extension.
- Node.js (version specified in
.node-version
) - pnpm (package manager)
- Chrome browser for testing
$ pnpm i
$ pnpm dev
After development server started, chrome browser automatically open.
You can check extension behavior by moving github-actions-search's actions tab.
pnpm build
- Build production bundlepnpm test
- Run testspnpm lint
- Run lintingpnpm typecheck
- Check TypeScript types
src/
- Source codecontent/
- Content scripts injected into GitHub pages
public/
- Static assetstest/
- Visual Regression Test filesdist/
- Build output
To create a production build:
- Run
pnpm build
- The extension will be built to
dist/
- Load the
dist
directory as an unpacked extension in Chrome