Skip to content

Merge pull request #1522 from decentdao/release/20240408 #263

Merge pull request #1522 from decentdao/release/20240408

Merge pull request #1522 from decentdao/release/20240408 #263

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: Build GraphQL client
run: npm run graphql:build
- name: Run tests
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: Build GraphQL client
run: npm run graphql:build
- name: Run tests
run: npm run pretty:check