27 lines
430 B
YAML
27 lines
430 B
YAML
|
name: Deploy
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches: [main]
|
||
|
pull_request:
|
||
|
branches: [main]
|
||
|
|
||
|
jobs:
|
||
|
format:
|
||
|
name: Format
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Checkout
|
||
|
uses: actions/checkout@v2
|
||
|
|
||
|
- name: Use Node.js 16.x
|
||
|
uses: actions/setup-node@v2
|
||
|
with:
|
||
|
node-version: 16.x
|
||
|
cache: "npm"
|
||
|
|
||
|
- run: npm ci
|
||
|
|
||
|
- run: npx prettier --check .
|
||
|
# vim: set et ts=2 sw=2:
|