Skip to content

Commit

Permalink
ci: rename workflows (#162)
Browse files Browse the repository at this point in the history
* ci: rename workflows

* ci: add code.yml workflow

* ci: add `type-check` script
  • Loading branch information
erik-slovak authored Sep 5, 2024
1 parent 5d90eba commit b3b89af
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 21 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/code-quality.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "Code"

on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review

jobs:
code-quality:
name: "Code quality"
uses: technology-studio/github-workflows/.github/workflows/_code-quality.yml@main
secrets: inherit
type-check:
name: "Type check"
uses: technology-studio/github-workflows/.github/workflows/_type-check.yml@main
secrets: inherit
7 changes: 4 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- synchronize

jobs:
main:
name: '/'
uses: technology-studio/github-workflows/.github/workflows/_pr.yml@main
semantic-title:
name: "Semantic title"
uses: technology-studio/github-workflows/.github/workflows/_semantic-title.yml@main
secrets: inherit
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- ready_for_review

jobs:
test:
name: '/'
uses: technology-studio/github-workflows/.github/workflows/_test.yml@main
unit:
name: 'Unit test'
uses: technology-studio/github-workflows/.github/workflows/_unit-test.yml@main
secrets: inherit
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"sanity": "yarn lint:ci && yarn build && tsc --noEmit && yarn test --coverage && yarn compare-boilerplate-version && echo 'success'",
"semantic-release": "semantic-release",
"update-boilerplate-version": "./scripts/update-boilerplate-version.sh",
"lint:ci": "yarn lint"
"lint:ci": "yarn lint",
"type-check": "tsc --noEmit"
},
"engines": {
"node": ">=18.0.0"
Expand Down

0 comments on commit b3b89af

Please sign in to comment.