Skip to content

feat: add lookahead #74

feat: add lookahead

feat: add lookahead #74

Workflow file for this run

name: 'Lint'
on:
push:
branches:
- main
pull_request:
jobs:
check-formatting-and-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 20.9.x
cache: npm
- name: Cache node modules
id: cache-node-modules
uses: actions/cache@v3
with:
path: node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}
- name: Install Dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: npm install
- name: Run prettier
run: npm run format:check
- name: Run eslint
if: success() || failure()
run: npm run lint
- name: Run Typescript Compilation Check
run: npm run types:check