Skip to content

Merge pull request #117 from decentdao/deploy-create-hat-race #21

Merge pull request #117 from decentdao/deploy-create-hat-race

Merge pull request #117 from decentdao/deploy-create-hat-race #21

Workflow file for this run

name: Code Syntax
on:
push:
branches:
- develop
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install dependencies
run: npm ci
- name: Compile contracts
run: npm run compile
- name: Run linter
run: npm run lint:check
pretty:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install dependencies
run: npm ci
- name: Compile contracts
run: npm run compile
- name: Run prettier
run: npm run pretty:check