Skip to content

Merge pull request #3 from mangata-finance/rc/2.0.0 #2

Merge pull request #3 from mangata-finance/rc/2.0.0

Merge pull request #3 from mangata-finance/rc/2.0.0 #2

Workflow file for this run

name: Release
on:
push:
branches:
- "main"
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v3
- name: Setup Node version and cache dependencies
uses: actions/setup-node@v3
with:
node-version: "18"
cache: "yarn"
- name: Install deps
run: yarn install
- name: Install peer deps
run: yarn peer
- name: Build
run: yarn build
- name: create release
run: npx semantic-release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.TOKEN }}
- name: Merge main -> develop
uses: devmasx/merge-branch@master
with:
type: now
from_branch: main
target_branch: develop
message: Merge main into develop
github_token: ${{ secrets.TOKEN }}