Skip to content

Ethernaut cli CI

Ethernaut cli CI #49

Workflow file for this run

name: Ethernaut cli CI
on:
push:
pull_request:
env:
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
ALCHEMY_API_KEY: ${{ secrets.ALCHEMY_API_KEY }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/install-foundry.yml
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run lint
# common:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# node-version: [20.x]
# steps:
# - uses: actions/checkout@v2
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v2
# with:
# node-version: ${{ matrix.node-version }}
# - run: npm ci
# - run: npm run build --if-present
# - run: npm run compile --if-present
# - run: cd packages/common && npm t
# ethernaut-toolbox:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# node-version: [20.x]
# steps:
# - uses: actions/checkout@v2
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v2
# with:
# node-version: ${{ matrix.node-version }}
# - run: npm ci
# - run: npm run build --if-present
# - run: npm run compile --if-present
# - run: cd packages/ethernaut-toolbox && DEBUG=*terminal npm t
# ethernaut-ui:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# node-version: [20.x]
# steps:
# - uses: actions/checkout@v2
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v2
# with:
# node-version: ${{ matrix.node-version }}
# - run: npm ci
# - run: npm run build --if-present
# - run: npm run compile --if-present
# - run: cd packages/ethernaut-ui && DEBUG=*terminal npm t
# ethernaut-interact:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# node-version: [20.x]
# steps:
# - uses: actions/checkout@v2
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v2
# with:
# node-version: ${{ matrix.node-version }}
# - run: npm ci
# - run: npm run build --if-present
# - run: npm run compile --if-present
# - name: Start local chain
# run: |
# npm run chain &
# sleep 5
# - run: cd packages/ethernaut-interact && DEBUG=*terminal npm t
# ethernaut-challenges:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# node-version: [20.x]
# steps:
# - uses: actions/checkout@v2
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v2
# with:
# node-version: ${{ matrix.node-version }}
# - run: npm ci
# - run: npm run build --if-present
# - run: npm run compile --if-present
# - name: Start local chain
# run: |
# npm run chain &
# sleep 5
# - run: cd packages/ethernaut-challenges && DEBUG=*terminal npm t
# ethernaut-ai:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# node-version: [20.x]
# steps:
# - uses: actions/checkout@v2
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v2
# with:
# node-version: ${{ matrix.node-version }}
# - run: npm ci
# - run: npm run build --if-present
# - run: npm run compile --if-present
# - run: cd packages/ethernaut-ai && DEBUG=*terminal npm t
# ethernaut-network:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# node-version: [20.x]
# steps:
# - uses: actions/checkout@v2
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v2
# with:
# node-version: ${{ matrix.node-version }}
# - run: npm ci
# - run: npm run build --if-present
# - run: npm run compile --if-present
# - run: cd packages/ethernaut-network && DEBUG=*terminal npm t
# ethernaut-cli:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# node-version: [20.x]
# steps:
# - uses: actions/checkout@v2
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v2
# with:
# node-version: ${{ matrix.node-version }}
# - run: npm ci
# - run: npm run build --if-present
# - run: npm run compile --if-present
# - run: cd packages/ethernaut-cli && DEBUG=*terminal npm t