1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-11 04:23:10 +00:00
nf-configs/.github/workflows/linting.yml

23 lines
423 B
YAML
Raw Normal View History

2022-03-17 23:32:45 +00:00
name: Code Linting
on:
pull_request:
2022-03-22 00:18:55 +00:00
push:
branches:
- master
2019-11-25 23:25:49 +00:00
jobs:
2022-03-17 23:32:45 +00:00
prettier:
runs-on: ubuntu-latest
2019-11-25 23:25:49 +00:00
steps:
2022-03-17 23:32:45 +00:00
- name: Check out repository
uses: actions/checkout@v2
2019-11-25 23:25:49 +00:00
2022-03-17 23:32:45 +00:00
- 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}