Skip to content

Commit

Permalink
feat: initial release (#1)
Browse files Browse the repository at this point in the history
* feat: initial release

* fix: rollup ci build

* fix: github build

* fix: remove bun fron env

* fix: bin path

* fix: main field

* fix: add error detecting
  • Loading branch information
JiLiZART authored Sep 26, 2024
1 parent b59f89f commit 74ed609
Show file tree
Hide file tree
Showing 13 changed files with 4,331 additions and 89 deletions.
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

0 comments on commit 74ed609

Please sign in to comment.