setup release pipeline
This commit is contained in:
1 parent
3db7a7d556
commit
b3ec1f33f9
6 files changed
+60
-9
No files matched your search
File renamed without changes.
@@ -0,0 +1,35 @@
|
||||
name: publish
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths-ignore:
|
||||
- .gitignore
|
||||
- README.md
|
||||
- '.github/ISSUE_TEMPLATE/**'
|
||||
jobs:
|
||||
run:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '14'
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install
|
||||
|
||||
- name: Run yarn bump and generate changelog
|
||||
run: yarn bump
|
||||
|
||||
- name: Commit and Push changes
|
||||
run: |
|
||||
git config --global user.name 'GitHub Actions'
|
||||
git config --global user.email 'actions@github.com'
|
||||
git add -A
|
||||
git commit -m "Bump version and update changelog"
|
||||
git push
|
||||
Reference in new issue
Block a user