Skip to content

Commit

Permalink
chore(release): configure semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitAverty committed May 19, 2021
1 parent 4347bd8 commit 1535647
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", "semantic-release"]
}
Loading

0 comments on commit 1535647

Please sign in to comment.