Skip to content

TypeScript Example

Repository: janitor-sh/typescript-example

Terminal window
npm install
npm run dev
Terminal window
npm run build
Terminal window
janitor --no-commit

The example workflow runs on pushes and pull requests to main and executes janitor using Biome:

- name: Install biome
run: npm install -g @biomejs/biome
- uses: janitor-sh/action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
tool: "biome"
- name: Push Janitor commit
run: git push