Skip to content

feat: check additional bare strings #245

feat: check additional bare strings

feat: check additional bare strings #245

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@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: '16'
- 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.2.4
with:
version: 7
run_install: true
- name: Check formatting
run: pnpm run format
- name: Check types
run: pnpm run typecheck