Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: initial release #1

Merged
merged 7 commits into from
Sep 26, 2024
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
7 changes: 7 additions & 0 deletions .changeset/fifty-knives-itch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"glab-status": major
---

Initial release

First initial release of glab-status
8 changes: 4 additions & 4 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
steps:
- name: Clone repository
uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
- run: bun install
- uses: actions/setup-node@v4
- run: npm install --force
- name: Generate build
run: bun run build
run: npm run build
- name: Run Tests
run: bun run test
run: npm run test
10 changes: 5 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
- run: bun install
- run: bun run build
- uses: actions/setup-node@v4
- run: npm install --force
- run: npm run build
- uses: changesets/action@v1
if: ${{ github.event_name != 'pull_request' }}
with:
version: bun run ci:version
publish: bun run ci:publish
version: npm run ci:version
publish: npm run ci:publish
commit: "[ci] release"
title: "[ci] release"
env:
Expand Down
36 changes: 29 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,36 @@
# npm library template
# Gitlab Status

npm repo template using bun, tsup
GitLab CLI rich status display tool

## Build
This tool displays the status of your GitLab pipelines in your terminal.
For given repository directory, it will display the following information:

- Commit
- Merge Request
- Environment
- Pipeline Jobs

## Usage

```bash
$ cd my-gitlab-project
$ glab-status
```

## Installation

```bash
bun build
$ npm install -g glab-status
```

## Tech stack
or use npx

```bash
$ npx glab-status
```

## Configuration

You need to set the `GITLAB_TOKEN` environment variable to your GitLab token.

- bun
- tsup
Follow https://gitlab.com/-/user_settings/personal_access_tokens to generate a new token.
Binary file removed bun.lockb
Binary file not shown.
Loading
Loading