fix: arbitrum env #71
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
# creates a new npm release | |
name: test | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # [email protected] | |
- 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 }}" |