Skip to content

Commit

Permalink
chore: run brownie mint script
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchiavini committed Oct 16, 2024
1 parent d6e5fd9 commit 6e46b99
Show file tree
Hide file tree
Showing 4 changed files with 6,418 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: get-npm-version
id: package-version
uses: martinbeentjes/npm-get-version-action@main
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup .npmrc file to publish to npm
uses: actions/setup-node@v1
with:
Expand Down
43 changes: 37 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,45 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: '20'
# todo: we should commit the lock file and use npm ci
- run: npm install
- run: npm run build
- run: npm ci
- run: npx hardhat node --fork ${{ secrets.ETH_RPC }} &

- uses: actions/setup-python@v5
with:
python-version: '3.12'
- uses: actions/checkout@v4
with:
repository: curvefi/mint-test-tokens
path: mint-test-tokens
- run: pip install -r requirements.txt
working-directory: mint-test-tokens
- run: brownie run mainnet-mint --network mainnet-hardhat-fork -i
working-directory: mint-test-tokens

- run: npm run build:tests
- run: npm run test

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: npm ci
- run: npm run lint
if: always()

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: npm ci
- run: npm run build
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
node_modules
dist
lib
package-lock.json
pnpm-lock.yaml
yarn.lock
test/temp.test.ts
Expand Down
Loading

0 comments on commit 6e46b99

Please sign in to comment.