Skip to content

update hardhat configs with base and baseSepolia information #1

update hardhat configs with base and baseSepolia information

update hardhat configs with base and baseSepolia information #1

Workflow file for this run

name: Compile/Test/Publish
on:
push:
branches:
- main
jobs:
publish-gpr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://npm.pkg.github.com/
scope: '@gammaswap'
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- run: yarn install
env:
NODE_AUTH_TOKEN: ${{secrets.GS_TOKEN}}
- run: yarn run test
- name: Publish Package
if: "(contains(github.event.head_commit.message, 'publish package'))"
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GS_TOKEN}}