Merge pull request #88 from VenusProtocol/develop #68
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- uses: actions/setup-node@v2 | |
with: | |
cache: "yarn" | |
- name: Install dependencies | |
# Hack to get around failing "ethereumjs-abi The remote archive doesn't match the expected checksum" error | |
run: YARN_CHECKSUM_BEHAVIOR=update yarn | |
- name: Build | |
run: yarn build | |
- name: Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.VENUS_TOOLS_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
GIT_AUTHOR_NAME: Venus Tools | |
GIT_AUTHOR_EMAIL: tools@venus.io | |
GIT_COMMITTER_NAME: Venus Tools | |
GIT_COMMITTER_EMAIL: tools@venus.io | |
run: yarn semantic-release |