Skip to content

Commit

Permalink
feat: add github workflow for doing semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
cybersiddhu committed Nov 9, 2019
1 parent 97a8bde commit 6ebfb8e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Release
on:
push:
branches:
- master
jobs:
semantic-release:
runs-on: ubuntu-18.04
steps:
- name: set up nodejs
uses: actions/setup-node@v1
with:
node-version: 10.17.0
- name: install semantic release
run: npm i -g semantic-release@15.13.30
- name: check out code
uses: actions/checkout@v1
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release

0 comments on commit 6ebfb8e

Please sign in to comment.