Skip to content

Commit

Permalink
ci(release): add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jortfal committed Apr 18, 2021
1 parent 1be6d2e commit ec836ca
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Release

on:
push:
branches:
- master

jobs:
release:
name: release
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v2
- name: Setup NPM
uses: bahmutov/npm-install@v1
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release

0 comments on commit ec836ca

Please sign in to comment.