Skip to content

Commit a07c726

Browse files
authored
Merge pull request #6 from form8ion/alpha
Initial release
2 parents 7d3dcb8 + c898005 commit a07c726

File tree

13 files changed

+1806
-200
lines changed

13 files changed

+1806
-200
lines changed

.github/workflows/node-ci.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,27 @@ jobs:
2929
- run: npm test
3030
- name: Upload coverage data to Codecov
3131
run: npm run coverage:report
32+
verify-matrix:
33+
runs-on: ubuntu-latest
34+
strategy:
35+
matrix:
36+
node:
37+
- '12.20'
38+
- 12
39+
- 14
40+
- 16
41+
steps:
42+
- uses: actions/checkout@v2
43+
- name: Setup node
44+
uses: actions/setup-node@v2
45+
with:
46+
node-version: ${{ matrix.node }}
47+
- uses: bahmutov/npm-install@v1
48+
- run: npm test
3249
release:
33-
needs: verify
50+
needs:
51+
- verify
52+
- verify-matrix
3453
runs-on: ubuntu-latest
3554
steps:
3655
- uses: actions/checkout@v2

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ form8ion plugin for managing tools related to commit conventions
55
<!--status-badges start -->
66

77
[![Node CI Workflow Status][github-actions-ci-badge]][github-actions-ci-link]
8+
[![Codecov][coverage-badge]][coverage-link]
89

910
<!--status-badges end -->
1011

@@ -13,6 +14,8 @@ form8ion plugin for managing tools related to commit conventions
1314
* [Usage](#usage)
1415
* [Installation](#installation)
1516
* [Example](#example)
17+
* [Import](#import)
18+
* [Execute](#execute)
1619
* [Contributing](#contributing)
1720
* [Dependencies](#dependencies)
1821
* [Verification](#verification)
@@ -45,7 +48,7 @@ import {scaffold} from '@form8ion/commit-convention';
4548

4649
```javascript
4750
(async () => {
48-
await scaffold({projectRoot: process.cwd()});
51+
await scaffold({projectRoot: process.cwd(), configs: {}});
4952
})();
5053
```
5154

@@ -109,3 +112,7 @@ $ npm test
109112
[runkit-link]: https://npm.runkit.com/@form8ion/commit-convention
110113

111114
[runkit-badge]: https://badge.runkitcdn.com/@form8ion/commit-convention.svg
115+
116+
[coverage-link]: https://codecov.io/github/form8ion/commit-convention
117+
118+
[coverage-badge]: https://img.shields.io/codecov/c/github/form8ion/commit-convention.svg

example.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ stubbedFs();
99
// #### Execute
1010

1111
(async () => {
12-
await scaffold({projectRoot: process.cwd()});
12+
await scaffold({projectRoot: process.cwd(), configs: {}});
1313
})();

0 commit comments

Comments
 (0)