Skip to content

Sidebar add and remove temporal folders to sidebar #385

Sidebar add and remove temporal folders to sidebar

Sidebar add and remove temporal folders to sidebar #385

Workflow file for this run

name: Linter & Types
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x] # Specify node versions you want to test against
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 2 # Checkout HEAD^
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
run_install: false
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: Prettier
run: pnpm prettier:check --filter=[HEAD^1]
- name: Lint
run: pnpm lint --filter=[HEAD^1]
- name: TypeScript
run: pnpm tc --cache-dir=.turbo --filter=[HEAD^1]