Skip to content

chore(deps): update dependency prettier to v2.8.8 #2003

chore(deps): update dependency prettier to v2.8.8

chore(deps): update dependency prettier to v2.8.8 #2003

name: Check codebase
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: 20
- 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@v2
# - name: Setup node
# uses: actions/setup-node@v1
# with:
# node-version: 20
# - 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@v2
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: 20
- 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: [20, 22]
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run unit tests
run: yarn test