Skip to content

Commit

Permalink
ci(gh): add semantic-release with github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-dezandee committed May 26, 2020
1 parent 746abdc commit f448784
Show file tree
Hide file tree
Showing 4 changed files with 6,334 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/gem.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Ruby Gem

on:
push:
branches: [ master ]
pull_request:

jobs:
build:
name: Semantic Release
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
with:
version: 2.6.x
- name: Set up Node.js 10
uses: actions/setup-node@v1
with:
node-version: 10.x

- run: gem update --system
- run: npm ci
- run: npx semantic-release
env:
GH_TOKEN: ${{secrets.GH_TOKEN}}
GEM_HOST_API_KEY: ${{secrets.GEM_HOST_API_KEY}}
Loading

0 comments on commit f448784

Please sign in to comment.