Skip to content

Merge pull request #52 from EnsoFinance/base #29

Merge pull request #52 from EnsoFinance/base

Merge pull request #52 from EnsoFinance/base #29

Workflow file for this run

name: Build, Test and Release NPM Package
on:
push:
branches:
- main
jobs:
release:
name: Release
runs-on: ubuntu-latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
ETH_NODE_URI_MAINNET: ${{ secrets.ETH_NODE_URI_MAINNET }}
ETHERSCAN_KEY: ${{ secrets.ETHERSCAN_KEY }}
MNEMONIC: ${{secrets.MNEMONIC}}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
always-auth: true
registry-url: https://registry.npmjs.org
scope: '@ensofinance'
- name: Install dependencies
run: yarn --ignore-platform
- name: Running tests
run: yarn ci
- name: Release
run: yarn package:publish