Skip to content

Commit

Permalink
Merge pull request #27 from theethernaut/update-setup
Browse files Browse the repository at this point in the history
Update setup
  • Loading branch information
eternauta1337 authored Sep 18, 2024
2 parents 8833d86 + 235a0bf commit f2d6714
Show file tree
Hide file tree
Showing 22 changed files with 2,302 additions and 106 deletions.
80 changes: 48 additions & 32 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ env:
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
ALCHEMY_API_KEY: ${{ secrets.ALCHEMY_API_KEY }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OSO_DEVELOPER_API_KEY: ${{ secrets.OSO_DEVELOPER_API_KEY }}

jobs:
lint:
Expand All @@ -16,9 +17,9 @@ jobs:
matrix:
node-version: ['20.12.0']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand All @@ -29,9 +30,9 @@ jobs:
matrix:
node-version: ['20.12.0']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install Foundry
Expand All @@ -49,15 +50,16 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ethernaut-common
parallel: true
ethernaut-oso:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.12.0']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand All @@ -69,15 +71,16 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ethernaut-oso
parallel: true
ethernaut-util:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.12.0']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand All @@ -89,15 +92,16 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ethernaut-util
parallel: true
ethernaut-util-ui:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.12.0']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand All @@ -109,15 +113,16 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ethernaut-util-ui
parallel: true
ethernaut-ui:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.12.0']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand All @@ -129,15 +134,16 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ethernaut-ui
parallel: true
ethernaut-interact:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.12.0']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand All @@ -155,15 +161,16 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ethernaut-interact
parallel: true
ethernaut-interact-ui:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.12.0']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand All @@ -181,15 +188,16 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ethernaut-interact-ui
parallel: true
ethernaut-challenges:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.12.0']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand All @@ -207,15 +215,16 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ethernaut-challenges
parallel: true
ethernaut-ai:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.12.0']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand All @@ -227,15 +236,16 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ethernaut-ai
parallel: true
ethernaut-ai-ui:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.12.0']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand All @@ -247,15 +257,16 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ethernaut-ai-ui
parallel: true
ethernaut-network:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.12.0']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install Foundry
Expand All @@ -269,15 +280,16 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ethernaut-network
parallel: true
ethernaut-network-ui:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.12.0']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install Foundry
Expand All @@ -291,15 +303,16 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ethernaut-network-ui
parallel: true
ethernaut-wallet:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.12.0']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand All @@ -317,15 +330,16 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ethernaut-wallet
parallel: true
ethernaut-wallet-ui:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.12.0']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand All @@ -343,15 +357,16 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ethernaut-wallet-ui
parallel: true
ethernaut-cli:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.12.0']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand All @@ -363,3 +378,4 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ethernaut-cli
parallel: true
Loading

0 comments on commit f2d6714

Please sign in to comment.