Skip to content

chore(portable-text-editor): update jest-dev-server #5242

chore(portable-text-editor): update jest-dev-server

chore(portable-text-editor): update jest-dev-server #5242

Workflow file for this run

name: Type check
on:
push:
jobs:
typeCheck:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Cache node modules
id: cache-node-modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-modules-${{ env.cache-name }}-
${{ runner.os }}-modules-
${{ runner.os }}-
- name: Install project dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile
- name: Check type system
# If TypeScript project references is set up properly, `tsc --build` should work right after dependencies
# has been installed, no extra build/compile step required
id: typeCheckModules
run: yarn type-check
env:
NODE_OPTIONS: --max_old_space_size=8192