Skip to content

Merge pull request #364 from layer5io/leecalcote/ci/linter-workflow #28

Merge pull request #364 from layer5io/leecalcote/ci/linter-workflow

Merge pull request #364 from layer5io/leecalcote/ci/linter-workflow #28

Workflow file for this run

name: Linting and formatting
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install
- name: Run Lint
run: yarn lint && yarn format:check && yarn lint-staged