Skip to content

feat: upgrade pcl swap to include oracle price on spread calc #22

feat: upgrade pcl swap to include oracle price on spread calc

feat: upgrade pcl swap to include oracle price on spread calc #22

Workflow file for this run

name: ci
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Setup wasm-pack
uses: jetli/[email protected]
with:
version: 'latest'
- name: Build package
run: make build
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16.x
registry-url: https://registry.npmjs.org/
- name: Install dependencies
working-directory: ./test
run: npm ci
- name: Run tests
working-directory: ./test
run: npm run test