This repository was archived by the owner on Nov 22, 2022. It is now read-only.
Commit ca890ae
authored
chore(build): automate build process (#33)
TL;DR: `npm run release` creates new releases.
incorporate release-it (https://www.npmjs.com/package/release-it) to
manage our builds, github tagging and github releases.
**creating a build**
Run `npm run release`: this will kick-off the `release.sh` script. It
expects a `GITHUB_TOKEN` located at a local `.env` file. Then, it runs
`npm install` and `npm run test`. If they succeed, then it proceeds to
create a new build by running `npm run build`.
Lastly, you will see an interactive CLI interface, where you can select
`patch`, `minor` or `major` among the options.
The result is a new git tag with the corresponding version, and a new
Github release.1 parent 3854106 commit ca890ae
File tree
6 files changed
+1736
-8
lines changed- scripts
6 files changed
+1736
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
0 commit comments