Skip to content

feat: add linting pipeline #21

feat: add linting pipeline

feat: add linting pipeline #21

Workflow file for this run

name: CI
on: [push]
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout current branch
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Run build
run: npm run build
- name: Run tests
run: npm test
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout current branch
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Run lint
run: npm lint