Skip to content

Chore: Updating docs #742

Chore: Updating docs

Chore: Updating docs #742

Workflow file for this run

name: Smart Contract CI
on:
- push
env:
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
DETERMINISTIC_DEPLOYER_PRIVATE_KEY: ${{ secrets.DETERMINISTIC_DEPLOYER_PRIVATE_KEY }}
FOUNDRY_PROFILE: ci
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 18.18.0
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
run_install: false
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
# - name: Install Foundry
# uses: foundry-rs/foundry-toolchain@v1
#
# - name: Run Foundry tests
# run: forge test --via-ir -vvv
- name: Run Hardhat tests
run: pnpm test:ci