Skip to content

Merge pull request #105 from shapeshift/neoenv #188

Merge pull request #105 from shapeshift/neoenv

Merge pull request #105 from shapeshift/neoenv #188

Workflow file for this run

name: Lint
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Cache Node Modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-node-modules-${{ github.ref }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-modules-${{ github.ref }}-
${{ runner.os }}-node-modules-
- name: Install
run: yarn install --frozen-lockfile
- name: Lint
run: yarn lint
- name: Type Check
run: yarn type-check