Skip to content

upfate template

upfate template #8

Workflow file for this run

name: Quality gate
on:
push:
branches-ignore:
- "main"
permissions:
contents: read
packages: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: npm run typecheck;
- run: npm run lint
test:
needs: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Run unit tests
run: npm run test
build:
env:
NODE_PK: "0x0000000000000000000000000000000000000000000000000000000000000000"
RPC: "https://rpc.com"
WS_RPC: "wss://ethereum.publicnode.com"
NETWORK: "mainnet"
needs: test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: docker compose build;