Skip to content

Set up github lint workflow and test #1

Set up github lint workflow and test

Set up github lint workflow and test #1

Workflow file for this run

name: Lint
on:
push:
branches-ignore:
- main
pull_request:
branches:
- main
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "14"
- name: Install dependencies
run: npm install
working-directory: ./frontend
- name: ESLint
run: eslint **/*.js
working-directory: ./frontend
- name: Lint
run: prettier --check .
working-directory: ./frontend