Skip to content

Commit

Permalink
updated lint yaml and deployed to localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobHomanics committed Feb 1, 2024
1 parent 50662ad commit c1f768f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [lts/*]
node: [16.x]

steps:
- name: Checkout
Expand All @@ -25,19 +25,31 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: yarn
cache : yarn

- name: Install dependencies
run: yarn install --immutable

- name: Run hardhat node, deploy contracts (& generate contracts typescript output)
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Run foundry node, deploy contracts (& generate contracts typescript output)
env:
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
run: yarn chain & yarn deploy
id: build

- name: Run tests
run: forge test -vvv

- name: Run snapshot
run: forge snapshot

- name: Run nextjs lint
run: yarn next:lint --max-warnings=0

- name: Check typings on nextjs
run: yarn next:check-types

- name: Run hardhat lint
run: yarn hardhat:lint --max-warnings=0
#- name: Run hardhat lint
# run: yarn hardhat:lint --max-warnings=0
2 changes: 1 addition & 1 deletion packages/nextjs/contracts/deployedContracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { GenericContractsDeclaration } from "~~/utils/scaffold-eth/contract";
const deployedContracts = {
31337: {
ReputationTokensStandalone: {
address: "0x84eA74d481Ee0A5332c457a4d796187F6Ba67fEB",
address: "0x5FbDB2315678afecb367f032d93F642f64180aa3",
abi: [
{
type: "constructor",
Expand Down

0 comments on commit c1f768f

Please sign in to comment.