Skip to content

Commit

Permalink
chore: add semantic release via github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
remy committed Jun 29, 2021
1 parent 3a7b977 commit b78779a
Show file tree
Hide file tree
Showing 2 changed files with 758 additions and 718 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Release
on:
workflow_run:
workflows: ['tests']
branches: [main]
types:
- completedname: Release
push:
branches:
- master
jobs:
release:
name: Release
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@v1
- 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
Loading

0 comments on commit b78779a

Please sign in to comment.