Skip to content

Merge pull request #3 from Unhosted-Wallet/features/add-flashloan #26

Merge pull request #3 from Unhosted-Wallet/features/add-flashloan

Merge pull request #3 from Unhosted-Wallet/features/add-flashloan #26

Workflow file for this run

name: Test workflow
on: push
jobs:
lint:
name: Lint sources
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout
uses: 'actions/checkout@master'
- name: Set Node.js
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Create a fake .secret file
run: echo "primary twist rack vendor diagram image used route theme frown either will" > .secret
working-directory: ./defi-strategies
- name: Install dependencies
run: yarn install --frozen-lockfile && yarn build
working-directory: ./defi-strategies
- name: Lint sources
run:
yarn run lint
working-directory: ./defi-strategies
unit_test:
name: Unit tests
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout
uses: 'actions/checkout@master'
- name: Set Node.js
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Create a fake .secret file
run: echo "primary twist rack vendor diagram image used route theme frown either will" > .secret
working-directory: ./defi-strategies
- name: Install dependencies
run: yarn install --frozen-lockfile && yarn build
working-directory: ./defi-strategies
- name: Run tests
run: yarn test
working-directory: ./defi-strategies