fix: update dependencies and remove unused files #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main | |
on: [push] | |
jobs: | |
run-ci: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
name: Run Type Check & Linters | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Check types | |
run: yarn type-check | |
- name: Check linting | |
run: yarn lint | |
- name: Run tests | |
run: yarn test:ci | |
- name: Build storybook | |
run: yarn build-storybook | |
- name: Build package | |
run: yarn build | |
- name: Check commits messages | |
uses: wagoid/commitlint-github-action@v5 |