👷 Add linting to the CI

This commit is contained in:
trickypr 2022-05-08 13:43:22 +10:00
parent 603eaa3dae
commit a00802df22

View file

@ -1,18 +1,27 @@
name: Test
name: CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
unit:
general:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'yarn'
- name: Install dependencies
run: yarn
run: yarn --frozen-lockfile
- name: Test
run: yarn test
- name: Lint
run: yarn lint