Skip to content

Set up ESLint, Prettier, Husky, and GitHub Actions #1

Set up ESLint, Prettier, Husky, and GitHub Actions

Set up ESLint, Prettier, Husky, and GitHub Actions #1

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
- run: npm ci
- run: npm run lint
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
- run: npm ci
- run: npm run build