Skip to content

Merge pull request #13 from AmityCo/lint-fixed-husky-added #30

Merge pull request #13 from AmityCo/lint-fixed-husky-added

Merge pull request #13 from AmityCo/lint-fixed-husky-added #30

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
SKIP_YARN_COREPACK_CHECK: true
COREPACK_ROOT: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup
- name: Lint files
run: yarn lint
- name: Typecheck files
run: yarn typecheck
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup
- name: Run unit tests
run: yarn test --maxWorkers=2 --coverage
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup
- name: Build package
run: yarn prepack