Skip to content

feature: setup linting #14

feature: setup linting

feature: setup linting #14

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup NodeJS
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm install --frozen-lockfile
- name: EsLint
run: npm run lint
unit-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies
run: npm install --frozen-lockfile
- name: Unit test
run: npm run test:unit