Skip to content

Commit 47de7bc

Browse files
authored
Merge pull request #22 from MatrixAI/feature-ci
Implement GitHub CI
2 parents f27c0bf + e81b9fa commit 47de7bc

File tree

9 files changed

+171
-344
lines changed

9 files changed

+171
-344
lines changed

.github/workflows/feature.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: "CI / Feature"
2+
3+
on:
4+
push:
5+
branches:
6+
- feature*
7+
workflow_dispatch:
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
use-library-js-feature:
15+
permissions:
16+
packages: read
17+
contents: read
18+
actions: write
19+
checks: write
20+
uses: MatrixAI/.github/.github/workflows/library-js-feature.yml@feature-actions

.github/workflows/staging.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: "CI / Staging"
2+
3+
on:
4+
push:
5+
branches:
6+
- staging
7+
workflow_dispatch:
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
use-library-js-staging:
15+
permissions:
16+
packages: read
17+
contents: write
18+
actions: write
19+
checks: write
20+
pull-requests: write
21+
uses: MatrixAI/.github/.github/workflows/library-js-staging.yml@feature-actions
22+
secrets:
23+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
24+
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
25+
GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}
26+
GIT_COMMITTER_EMAIL: ${{ secrets.GIT_COMMITTER_EMAIL }}
27+
GIT_COMMITTER_NAME: ${{ secrets.GIT_COMMITTER_NAME }}
28+

.github/workflows/tag.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: "CI / Tag"
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*.*.*'
7+
workflow_dispatch:
8+
9+
jobs:
10+
use-library-js-tag:
11+
permissions:
12+
packages: read
13+
contents: read
14+
actions: write
15+
uses: MatrixAI/.github/.github/workflows/library-js-tag.yml@feature-actions

.gitlab-ci.yml

Lines changed: 0 additions & 302 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# js-errors
22

3-
staging:[![pipeline status](https://gitlab.com/MatrixAI/open-source/js-errors/badges/staging/pipeline.svg)](https://gitlab.com/MatrixAI/open-source/js-errors/commits/staging)
4-
master:[![pipeline status](https://gitlab.com/MatrixAI/open-source/js-errors/badges/master/pipeline.svg)](https://gitlab.com/MatrixAI/open-source/js-errors/commits/master)
5-
63
Exception system with error chaining.
74

85
## Installation
@@ -13,7 +10,7 @@ npm install --save @matrixai/errors
1310

1411
## Development
1512

16-
Run `nix-shell`, and once you're inside, you can use:
13+
Run `nix develop`, and once you're inside, you can use:
1714

1815
```sh
1916
# install (or reinstall packages from package.json)

0 commit comments

Comments
 (0)