Skip to content

Merge pull request #45 from ethereum-attestation-service/ethers-v6 #127

Merge pull request #45 from ethereum-attestation-service/ethers-v6

Merge pull request #45 from ethereum-attestation-service/ethers-v6 #127

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install PNPM
uses: pnpm/action-setup@v2
id: pnpm-install
with:
version: 8
run_install: false
- name: Get PNPM store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup PNPM cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install SDK dependencies
run: pnpm install
- name: Install SDK test dependencies
run: cd test && pnpm install
- name: Lint
run: pnpm lint
- name: Test
run: pnpm test