Skip to content

Commit

Permalink
ci: semantic-release on gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bencevans committed Jan 30, 2021
1 parent 20a363f commit 1e52a2f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/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-18.04
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 14
- name: Install dependencies
run: npm ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm run clean && npm run build:dist && npx semantic-release

0 comments on commit 1e52a2f

Please sign in to comment.