Skip to content

Commit d26c05b

Browse files
authored
ci: rename workflows (#609)
* ci: rename workflows * ci: add code.yml workflow * ci: add `type-check` script
1 parent b42bb3a commit d26c05b

File tree

5 files changed

+29
-21
lines changed

5 files changed

+29
-21
lines changed

.github/workflows/code-quality.yml

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

.github/workflows/code.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: "Code"
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- reopened
8+
- synchronize
9+
- ready_for_review
10+
11+
jobs:
12+
code-quality:
13+
name: "Code quality"
14+
uses: technology-studio/github-workflows/.github/workflows/_code-quality.yml@main
15+
secrets: inherit
16+
type-check:
17+
name: "Type check"
18+
uses: technology-studio/github-workflows/.github/workflows/_type-check.yml@main
19+
secrets: inherit

.github/workflows/pr.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
- synchronize
99

1010
jobs:
11-
main:
12-
name: '/'
13-
uses: technology-studio/github-workflows/.github/workflows/_pr.yml@main
11+
semantic-title:
12+
name: "Semantic title"
13+
uses: technology-studio/github-workflows/.github/workflows/_semantic-title.yml@main
14+
secrets: inherit

.github/workflows/test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
- ready_for_review
1010

1111
jobs:
12-
test:
13-
name: '/'
14-
uses: technology-studio/github-workflows/.github/workflows/_test.yml@main
12+
unit:
13+
name: 'Unit test'
14+
uses: technology-studio/github-workflows/.github/workflows/_unit-test.yml@main
15+
secrets: inherit

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"sanity": "yarn lint:ci && yarn test --coverage && tsc --noEmit && yarn outdated && echo 'success'",
2424
"semantic-release": "semantic-release",
2525
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
26-
"lint:ci": "yarn lint"
26+
"lint:ci": "yarn lint",
27+
"type-check": "tsc --noEmit"
2728
},
2829
"engines": {
2930
"node": ">=18.0.0"

0 commit comments

Comments
 (0)