Skip to content

Merge pull request #681 from near/feat/ux-header-updates #291

Merge pull request #681 from near/feat/ux-header-updates

Merge pull request #681 from near/feat/ux-header-updates #291

name: CI
on:
pull_request:
push:
branches:
- main
- develop
jobs:
prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: latest
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Run code formatting check
run: pnpm run prettier
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: latest
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Run lint check
run: pnpm run build