Skip to content

ci: add github workflows #1

ci: add github workflows

ci: add github workflows #1

Workflow file for this run

name: CI
on:
push:
branches:
- 'main'
- 'develop'
pull_request:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'
- name: Install dependencies
run: yarn
- name: Run linter
run: yarn lint:check
- name: Run Prettier
run: yarn prettier:check
- name: Run tests
run: yarn test:coverage
- name: Build
run: yarn build