mirror of
https://github.com/open-goal/launcher.git
synced 2024-10-20 19:07:36 -04:00
30 lines
470 B
YAML
30 lines
470 B
YAML
name: Linter
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- dev/new-ui
|
|
|
|
jobs:
|
|
formatter:
|
|
name: 📝 Formatting
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: setup node
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 16
|
|
cache: npm
|
|
|
|
- name: install dependencies and check formatting
|
|
run: |
|
|
npm ci
|
|
npm run lint
|