https://github.com/bit-tasks/verify
Verify bit components for CI/CD
https://github.com/bit-tasks/verify
Last synced: 4 months ago
JSON representation
Verify bit components for CI/CD
- Host: GitHub
- URL: https://github.com/bit-tasks/verify
- Owner: bit-tasks
- Created: 2023-06-28T11:03:39.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-08-17T11:42:43.000Z (10 months ago)
- Last Synced: 2025-08-17T12:29:08.564Z (10 months ago)
- Language: TypeScript
- Size: 579 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bit Verify Components for CI/CD Pipelines
Check Bit components for issues in a Bit workspace.
# GitHub Actions
This task executes `bit ci verify` inside the workspace directory.
**Note:** `bit-tasks/verify@v2` requires Bit `^1.11.42`, if you need a lower version, use `bit-tasks/verify@v1`
## Inputs
### `ws-dir`
**Optional** The workspace directory path from the root. Default `"Dir specified in Init Task or ./"`.
## Example usage
**Note:** Use `bit-task/init@v1` as a prior step in your action before running `bit-tasks/verify@v2`.
```yaml
name: Test Bit Verify
on:
workflow_dispatch:
jobs:
verify:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_USER_NAME: ${{ secrets.GIT_USER_NAME }}
GIT_USER_EMAIL: ${{ secrets.GIT_USER_EMAIL }}
BIT_CONFIG_ACCESS_TOKEN: ${{ secrets.BIT_CONFIG_ACCESS_TOKEN }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Initialize Bit
uses: bit-tasks/init@v1
with:
ws-dir: ''
- name: Bit Verify
uses: bit-tasks/verify@v2
```
# Contributor Guide
Steps to create custom tasks in different CI/CD platforms.
## GitHub Actions
Go to the GithHub action task directory and build using NCC compiler. For example;
```
npm install
npm run build
git commit -m "Update task"
git tag -a -m "action release" v1 --force
git push --follow-tags
```
For more information, refer to [Create a javascript action](https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action)