Skip to content

Commit

Permalink
chore: [skip ci] added lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hazzo committed Feb 22, 2024
1 parent b607480 commit 3b74ad8
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: lint
on:
workflow_dispatch:
pull_request:

jobs:
build:
name: Lint
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

- name: Install dependencies and config
run: |
corepack enable
yarn
yarn graphql
yarn ioc-generate
- name: Check types
run: yarn check-types

- name: ESlint
run: yarn lint

- name: Check formatting
run: yarn prettier-check

0 comments on commit 3b74ad8

Please sign in to comment.