👷 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: on:
push: push:
pull_request:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
unit: general:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout 🛎️ - name: Checkout 🛎️
uses: actions/checkout@v2.3.1 uses: actions/checkout@v2.3.1
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'yarn'
- name: Install dependencies - name: Install dependencies
run: yarn run: yarn --frozen-lockfile
- name: Test - name: Test
run: yarn test run: yarn test
- name: Lint
run: yarn lint