File tree Expand file tree Collapse file tree 6 files changed +1099
-13
lines changed Expand file tree Collapse file tree 6 files changed +1099
-13
lines changed Original file line number Diff line number Diff line change
1
+ name : Node.js CI
2
+
3
+ on :
4
+ pull_request :
5
+ branches : [ '**' ]
6
+
7
+ jobs :
8
+ commitlint :
9
+ name : Commit Naming
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v2
13
+ with :
14
+ fetch-depth : 0
15
+ - uses : actions/setup-node@v2
16
+ - run : npm ci
17
+ - run : npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
18
+ verify_files :
19
+ name : Verify Files
20
+ runs-on : ubuntu-latest
21
+ steps :
22
+ - uses : actions/checkout@v2
23
+ with :
24
+ fetch-depth : 0
25
+ - uses : actions/setup-node@v2
26
+ - run : npm ci
27
+ - run : npm run lint
Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ push :
5
+ branches : [main]
6
+
7
+ jobs :
8
+ release :
9
+ if : github.repository == 'ydb-platform/ydb-ui-components'
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : yandex-cloud/ui-release-action@main
13
+ with :
14
+ github-token : ${{ secrets.YDB_PLATFORM_BOT_TOKEN_REPO }}
15
+ npm-token : ${{ secrets.NODE_AUTH_TOKEN }}
Original file line number Diff line number Diff line change
1
+ module . exports = { extends : [ '@commitlint/config-conventional' ] } ;
You can’t perform that action at this time.
0 commit comments