Skip to content

Merge pull request #74 from Gearbox-protocol/pool-limits-cms #87

Merge pull request #74 from Gearbox-protocol/pool-limits-cms

Merge pull request #74 from Gearbox-protocol/pool-limits-cms #87

Workflow file for this run

name: Release
on:
push:
branches:
- "main"
- "next"
env:
HUSKY: 0
CI: true
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: "yarn"
node-version-file: ".nvmrc"
- name: Configure access to private npm packages
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
# prepare script runs before publish, and it needs husky
- name: Install dependencies
run: |
yarn install --frozen-lockfile
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run forge build
run: forge build
timeout-minutes: 10
- name: Build dist
run: yarn build
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}