Skip to content

Add ParaSwap swapExactAmountIn (0xe3ead59e) function #15

Add ParaSwap swapExactAmountIn (0xe3ead59e) function

Add ParaSwap swapExactAmountIn (0xe3ead59e) function #15

Workflow file for this run

name: Test Intent Decoder
on:
push:
branches: [ main, test-decoding ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: tests/package-lock.json
- name: Install dependencies
working-directory: ./tests
run: npm ci
- name: Run intent decoder tests
working-directory: ./tests
env:
CURVEGRID_JWT: ${{ secrets.CURVEGRID_JWT }}
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
ALCHEMY_API: ${{ secrets.ALCHEMY_API }}
run: npm test
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results-node-${{ matrix.node-version }}
path: tests/test-results/
retention-days: 30