chore: add AssetValueCalculator #12
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: Publish | |
on: | |
push: | |
branches: | |
- v3 | |
jobs: | |
publish: | |
if: github.repository == 'avantgardefinance/protocol' | |
name: Publish | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Set up node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 12 | |
- name: Retrieve dependency cache | |
uses: actions/cache@v2 | |
with: | |
path: '**/node_modules' | |
key: ${{ runner.os }}-modules-${{ hashFiles('yarn.lock') }} | |
restore-keys: ${{ runner.os }}-modules- | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Create release pull request or publish | |
id: changesets | |
uses: changesets/action@master | |
with: | |
publish: yarn release | |
title: 'chore: publish packages' | |
commit: 'chore: publish packages' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |