Skip to content

Commit d09ecd3

Browse files
committed
feat: update CI
1 parent f9a96c1 commit d09ecd3

File tree

7 files changed

+129
-386
lines changed

7 files changed

+129
-386
lines changed

.github/workflows/feature.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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-native-library-js-feature:
15+
permissions:
16+
contents: read
17+
actions: write
18+
checks: write
19+
uses: MatrixAI/.github/.github/workflows/native-library-js-feature.yml@master

.github/workflows/staging.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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-native-library-js-staging:
15+
permissions:
16+
contents: write
17+
actions: write
18+
checks: write
19+
pull-requests: write
20+
uses: MatrixAI/.github/.github/workflows/native-library-js-staging.yml@master
21+
secrets:
22+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
23+
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
24+
GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}
25+
GIT_COMMITTER_EMAIL: ${{ secrets.GIT_COMMITTER_EMAIL }}
26+
GIT_COMMITTER_NAME: ${{ secrets.GIT_COMMITTER_NAME }}
27+

.github/workflows/tag.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: "CI / Tag"
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*.*.*'
7+
workflow_dispatch:
8+
9+
jobs:
10+
use-native-library-js-tag:
11+
permissions:
12+
contents: write
13+
actions: write
14+
checks: write
15+
uses: MatrixAI/.github/.github/workflows/native-library-js-tag.yml@master
16+
secrets:
17+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitlab-ci.yml

-332
This file was deleted.

0 commit comments

Comments
 (0)