Skip to content

feat: Add CI GitHub action. #6

feat: Add CI GitHub action.

feat: Add CI GitHub action. #6

Workflow file for this run

name: CI
on: [push]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: latest
cache: 'yarn'
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Code format check
run: yarn format:check
- name: Linting
run: yarn lint
- name: Run Tests
run: yarn test:ci