-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Added release automation (#344)
- Loading branch information
1 parent
3a7a955
commit 8d7237a
Showing
4 changed files
with
4,461 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
[//]: # (Please title your PR according to eslint commit conventions) | ||
[//]: # (See https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-eslint#eslint-convention for details) | ||
|
||
[//]: # (Link the PR to the original issue) | ||
|
||
[//]: # (Delete Fix, Update, New and/or Breaking sections as appropriate) | ||
### Fix | ||
* A sentence describing each fix | ||
|
||
### Update | ||
* A sentence describing each udpate | ||
|
||
### New | ||
* A sentence describing each new feature | ||
|
||
### Breaking | ||
* A sentence describing each breaking change | ||
|
||
[//]: # (List appropriate steps for testing if needed) | ||
### Testing | ||
1. Steps for testing | ||
|
||
[//]: # (Mention any other dependencies) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Release | ||
on: | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 'lts/*' | ||
- name: Install dependencies | ||
run: npm ci | ||
- name: Release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
run: npx semantic-release |
Oops, something went wrong.