Chore(deps-dev): Bump @types/node from 20.16.11 to 22.9.0 #787
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v4 | |
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 |