chore: removed testing of node 16 as it's now unsupported #94
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Production installation tests using npm link to install | |
on: [push] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
max-parallel: 1 | |
matrix: | |
platform: [ubuntu-latest, macos-latest, windows-latest] | |
node-version: [18.x, 20.x] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.platform }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm link tx2uml --only=production | |
- run: tx2uml --version | |
- name: Uniswap V1 call | |
run: tx2uml 0xe5e35ee13bb6326df4da89f17504a81923299d4986de06a019ca7856cbe76bca -v -p | |
env: | |
ARCHIVE_NODE_URL: ${{ secrets.ARCHIVE_NODE_URL }} | |
- name: Uniswap V1 value | |
run: tx2uml value 0xe5e35ee13bb6326df4da89f17504a81923299d4986de06a019ca7856cbe76bca -v | |
env: | |
ARCHIVE_NODE_URL: ${{ secrets.ARCHIVE_NODE_URL }} |