1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-12-04 20:49:54 +00:00
nf-configs/.github/workflows/linting.yml
2022-03-21 19:23:29 -05:00

22 lines
423 B
YAML

name: Code Linting
on:
pull_request:
push:
branches:
- master
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Install NodeJS
uses: actions/setup-node@v2
- name: Install Prettier
run: npm install -g prettier
- name: Run Prettier --check
run: prettier --check ${GITHUB_WORKSPACE}