mirror of
https://github.com/TxtDot/webder.git
synced 2024-11-05 21:24:00 +03:00
20 lines
394 B
YAML
20 lines
394 B
YAML
|
name: format-check
|
||
|
on: pull_request
|
||
|
jobs:
|
||
|
format-check:
|
||
|
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: '18'
|
||
|
|
||
|
- name: Install dependencies
|
||
|
run: npm install
|
||
|
|
||
|
- name: Check formatting
|
||
|
run: npm run format:check
|