Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

chore(deps): update all non-major dependencies #598

chore(deps): update all non-major dependencies

chore(deps): update all non-major dependencies #598

name: Check codebase
on:
push:
branches:
- main
merge_group:
pull_request:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run build
run: yarn build
storybook:
name: Storybook
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run build:storybook
run: yarn storybook:build
lint:
name: Linting
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Lint with ESLint
run: yarn lint
- name: Lint with TSC
if: ${{ always() }}
run: yarn lint:types
unit-tests:
name: Unit tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
node: [18, 19]
exclude:
- os: macos-latest
node: 12
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run unit tests
run: yarn test