Skip to content

Commit

Permalink
chore: add release workflow for automatically releasing changes when …
Browse files Browse the repository at this point in the history
…merged
  • Loading branch information
bryantbiggs committed Nov 3, 2021
1 parent 82eccd8 commit e513375
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: release

on:
push:
branches:
- main
paths:
- '.github/workflows/release.yml'
- 'dist/**'
- 'src/**'
- 'action.yml'
- 'yarn.lock'

jobs:
release:
name: release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE }}
run: |
yarn
yarn release

0 comments on commit e513375

Please sign in to comment.