Skip to content

Commit

Permalink
Merge pull request #1 from BenoitAverty/semantic-release
Browse files Browse the repository at this point in the history
chore(release): configure semantic release
  • Loading branch information
BenoitAverty committed May 19, 2021
2 parents 4347bd8 + 12ca991 commit 208d477
Show file tree
Hide file tree
Showing 4 changed files with 4,304 additions and 19 deletions.
25 changes: 25 additions & 0 deletions .github/actions/release.yml
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@v1
with:
node-version: 12
- name: Install dependencies
run: npm ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
3 changes: 3 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"branches": ["master"]
}
Loading

0 comments on commit 208d477

Please sign in to comment.