Repository navigation
fix(changelog): Default workspace changelog to its directory #1497
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: 'Lint' | |
| on: | |
| pull_request: | |
| branches: [master] | |
| jobs: | |
| lint: | |
| name: Lint fixes | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: package.json | |
| - name: Get pnpm version from Volta config | |
| id: pnpm-version | |
| run: echo "version=$(jq -r '.volta.pnpm' package.json)" >> $GITHUB_OUTPUT | |
| - uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0 | |
| with: | |
| version: ${{ steps.pnpm-version.outputs.version }} | |
| - uses: actions/cache@v5 | |
| id: cache | |
| with: | |
| path: | | |
| node_modules | |
| .eslintcache | |
| .tsbuildinfo | |
| key: ${{ runner.os }}-${{ hashFiles('package.json', 'pnpm-lock.yaml') }} | |
| - name: Install Dependencies | |
| if: steps.cache.outputs.cache-hit != 'true' | |
| run: pnpm install --frozen-lockfile | |
| - name: Format Check | |
| run: pnpm format:check | |
| - name: Type Check | |
| run: pnpm typecheck | |
| - name: Lint | |
| run: pnpm lint -f github-annotations |