Skip to content

Zaps

Zaps #50

Workflow file for this run

name: CI Pipeline
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Restore Yarn cache
uses: actions/cache@v3
with:
path: node_modules
key: yarn-packages-${{ hashFiles('yarn.lock') }}
restore-keys: |
yarn-packages-
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build project
run: yarn build
- name: Run Prettier
run: yarn format
- name: Run ESLint
run: yarn lint
- name: Run Solidity Test
env:
ALCHEMY_ID: ${{ secrets.ALCHEMY_ID }}
run: yarn test