Skip to content

chore(main): release 2.0.0 (#21) #70

chore(main): release 2.0.0 (#21)

chore(main): release 2.0.0 (#21) #70

Workflow file for this run

# creates a new npm release
name: test
on:
pull_request:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # pin@v4.2.2
- uses: bgd-labs/github-workflows/.github/actions/setup-node@main
- name: test lib
run: npm test -- --run
- name: test action
uses: ./
with:
ALCHEMY_API_KEY: ${{ secrets.ALCHEMY_API_KEY }}
env:
RPC_POLYGON: "https://rpc.polygon.com"
- name: test action (assertion)
run: |
test "${{env.RPC_POLYGON}}" = "https://rpc.polygon.com"
test "${{env.RPC_MAINNET}}" = "https://eth-mainnet.g.alchemy.com/v2/${{ secrets.ALCHEMY_API_KEY }}"