Skip to content

Merge pull request #29 from FhenixProtocol/vocs-init #814

Merge pull request #29 from FhenixProtocol/vocs-init

Merge pull request #29 from FhenixProtocol/vocs-init #814

Workflow file for this run

name: Test
on:
pull_request:
push:
branches: [master, staging]
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup pnpm 8
uses: pnpm/action-setup@v3
with:
version: 8
- name: Setup Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install Dependencies
run: pnpm i
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: stable
- name: Install Playwright Browsers
run: cd packages/sdk && pnpm exec playwright install chromium --with-deps
- name: Run Tests
env:
TEST_PRIVATE_KEY: ${{ secrets.TEST_PRIVATE_KEY }}
run: pnpm test