Skip to content

πŸ› Don't default-import #11

πŸ› Don't default-import

πŸ› Don't default-import #11

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@v3
- uses: bgd-labs/github-workflows/.github/actions/setup-node@feat/actions-setup-node
- name: test lib
run: npm test -- --run
- name: test action
uses: ./
with:
ALCHEMY_API_KEY: "bla"
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/bla"