Skip to content

feat: adds pnpm workspace scopes to commitlint #11

feat: adds pnpm workspace scopes to commitlint

feat: adds pnpm workspace scopes to commitlint #11

Workflow file for this run

name: CI
on:
push:
branches: ['main']
pull_request:
types: [opened, synchronize]
jobs:
build:
name: CI
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
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: Spell check
run: pnpm turbo lint:spell
- name: Lint Markdown
run: pnpm turbo lint:md
- name: Check Formatting
run: pnpm turbo format:check
- name: Lint
run: pnpm turbo lint
- name: Typecheck
run: pnpm turbo typecheck
- name: Build
run: pnpm turbo build