mirror of
https://github.com/txtdot/txtdot
synced 2024-10-18 22:50:19 +03:00
20 lines
398 B
YAML
20 lines
398 B
YAML
|
name: format-check
|
||
|
on: pull_request
|
||
|
jobs:
|
||
|
check-formatting:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Checkout code
|
||
|
uses: actions/checkout@v2
|
||
|
|
||
|
- name: Set up Node.js
|
||
|
uses: actions/setup-node@v2
|
||
|
with:
|
||
|
node-version: '14'
|
||
|
|
||
|
- name: Install dependencies
|
||
|
run: npm install
|
||
|
|
||
|
- name: Check formatting
|
||
|
run: npm run format:check
|