Skip to content

Update dependency @types/react-dom to v18.3.1 #1203

Update dependency @types/react-dom to v18.3.1

Update dependency @types/react-dom to v18.3.1 #1203

Workflow file for this run

---
name: CI
on: pull_request
jobs:
setup:
name: SetUp
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: yarn
- name: Install
run: yarn install --frozen-lockfile
- name: Cache node modules
uses: actions/cache@v3
with:
path: "**/node_modules"
key: ${{ runner.os }}-node-modules-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-modules-
build-and-test:
name: Build
needs:
- setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: yarn
- name: Restore node modules
uses: actions/cache@v3
with:
path: "**/node_modules"
key: ${{ runner.os }}-node-modules-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-modules-
- name: Build
run: yarn build
- name: Test
run: yarn test
lint:
name: Lint TypeScript and CSS
needs:
- setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: yarn
- name: Restore node modules
uses: actions/cache@v3
with:
path: "**/node_modules"
key: ${{ runner.os }}-node-modules-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-modules-
- name: Lint TypeScript
run: yarn lint:ts
- name: Lint CSS
run: yarn lint:css