Skip to content

Commit 55bf675

Browse files
authored
Merge pull request #117 from datacrafts-io/feature/semantic-release
Feature/semantic release
2 parents ce6e4b4 + c95b9a8 commit 55bf675

File tree

4 files changed

+35
-2
lines changed

4 files changed

+35
-2
lines changed

.github/workflows/release.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
release:
10+
name: Release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
with:
16+
fetch-depth: 0
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v1
19+
with:
20+
node-version: 14
21+
- name: Install dependencies
22+
run: npm ci
23+
- name: Release
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
run: npx semantic-release@17

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
· Prettier
1616
</em>
1717
<br />
18+
<em>
19+
commitizen
20+
· commitlint
21+
· semantic-release
22+
</em>
23+
<br />
1824
<em>
1925
Netlify-ready
2026
· GitHub Actions
@@ -52,6 +58,7 @@ Supports:
5258
- [ESLint](https://eslint.org/)
5359
- [commitizen](https://github.com/commitizen/cz-cli)
5460
- [commitlint](https://github.com/conventional-changelog/commitlint)
61+
- [semantic-release](https://semantic-release.gitbook.io/)
5562
- [Airbnb ESLint config](https://github.com/airbnb/javascript)
5663
- [Prettier support for ESLint](https://github.com/prettier/eslint-plugin-prettier)
5764
- [remark-lint](https://remark.js.org/)

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "gatsby-opinionated-starter",
33
"description": "A very opinionated TypeScript netlify-ready gatsby starter",
4-
"version": "1.0.0",
4+
"version": "1.1.0",
55
"author": "Yaroslav Kasperovych <ilovewindows96@gmail.com>",
66
"dependencies": {
77
"@types/react-helmet": "6.1.0",

0 commit comments

Comments
 (0)