Skip to content

feat: update dependencies #246

feat: update dependencies

feat: update dependencies #246

name: Formatting and Types
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
formatting-types:
name: Formatting and Types
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: Cache pnpm modules
uses: actions/cache@v3
env:
cache-name: cache-pnpm-modules
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-
- uses: pnpm/action-setup@v2
with:
version: 8
run_install: true
- name: Check formatting
run: pnpm run format
- name: Check types
run: pnpm run typecheck