Skip to content

Commit

Permalink
Update quality checks workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sabotack committed Mar 23, 2024
1 parent 73369a9 commit 1e3ce7c
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,21 @@ name: Code Quality Checks

on:
push:
branches:
- main
pull_request:
branches:
- main

permissions:
contents: read

env:
OS: ubuntu-latest

jobs:
prettier:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ubuntu-latest
runs-on: $OS
name: Prettier
steps:
- name: git-checkout
Expand All @@ -26,5 +28,15 @@ jobs:
- name: Prettier
run: npm run format:check

lint:
runs-on: $OS
name: ESLint
steps:
- name: git-checkout
uses: actions/checkout@v3

- name: Install all dependencies
run: npm ci

- name: ESLint
run: npm run lint

0 comments on commit 1e3ce7c

Please sign in to comment.