Skip to content

Commit 520430f

Browse files
author
Brynley Llewellyn-Roux
authored
Merge pull request #40 from MatrixAI/feature-ci
Implement GitHub CI
2 parents 9ae2b04 + dde58f5 commit 520430f

File tree

8 files changed

+170
-346
lines changed

8 files changed

+170
-346
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 & 308 deletions
This file was deleted.

0 commit comments

Comments
 (0)