fix(deps): update dependency typescript-eslint to v8.18.1 #1140
Workflow file for this run
This file contains 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: Frontend CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
defaults: | |
run: | |
working-directory: frontend | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
package_json_file: frontend/package.json | |
- name: Get pnpm store path | |
id: pnpm-store | |
run: echo "path=$(pnpm store path)" >> "$GITHUB_OUTPUT" | |
- name: Restore pnpm cache | |
uses: actions/cache/restore@v4 | |
id: pnpm-cache | |
with: | |
path: ${{ steps.pnpm-store.outputs.path }} | |
key: pnpm-${{ hashFiles('frontend/pnpm-lock.yaml') }} | |
restore-keys: | | |
pnpm- | |
- run: pnpm install --frozen-lockfile --strict-peer-dependencies | |
- name: Lint | |
run: pnpm run --recursive --parallel --aggregate-output lint | |
- name: Save pnpm cache | |
if: always() && steps.pnpm-cache.outputs.cache-hit != 'true' && github.ref == 'refs/heads/main' | |
uses: actions/cache/save@v4 | |
with: | |
path: ${{ steps.pnpm-store.outputs.path }} | |
key: ${{ steps.pnpm-cache.outputs.cache-primary-key }} | |
generate: | |
name: Generation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
package_json_file: frontend/package.json | |
- name: Get pnpm store path | |
id: pnpm-store | |
run: echo "path=$(pnpm store path)" >> "$GITHUB_OUTPUT" | |
- name: Restore pnpm cache | |
uses: actions/cache/restore@v4 | |
id: pnpm-cache | |
with: | |
path: ${{ steps.pnpm-store.outputs.path }} | |
key: pnpm-${{ hashFiles('frontend/pnpm-lock.yaml') }} | |
restore-keys: | | |
pnpm- | |
- run: pnpm install --frozen-lockfile --strict-peer-dependencies | |
- name: Generate | |
run: pnpm run --recursive --parallel --aggregate-output generate | |
- name: Check diff | |
run: git diff --name-only --exit-code | |
- name: Save pnpm cache | |
if: always() && steps.pnpm-cache.outputs.cache-hit != 'true' && github.ref == 'refs/heads/main' | |
uses: actions/cache/save@v4 | |
with: | |
path: ${{ steps.pnpm-store.outputs.path }} | |
key: ${{ steps.pnpm-cache.outputs.cache-primary-key }} | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
package_json_file: frontend/package.json | |
- name: Get pnpm store path | |
id: pnpm-store | |
run: echo "path=$(pnpm store path)" >> "$GITHUB_OUTPUT" | |
- name: Restore pnpm cache | |
uses: actions/cache/restore@v4 | |
id: pnpm-cache | |
with: | |
path: ${{ steps.pnpm-store.outputs.path }} | |
key: pnpm-${{ hashFiles('frontend/pnpm-lock.yaml') }} | |
restore-keys: | | |
pnpm- | |
- run: pnpm install --frozen-lockfile --strict-peer-dependencies | |
- name: Test | |
run: pnpm run --recursive --parallel --aggregate-output test | |
- name: Save pnpm cache | |
if: always() && steps.pnpm-cache.outputs.cache-hit != 'true' && github.ref == 'refs/heads/main' | |
uses: actions/cache/save@v4 | |
with: | |
path: ${{ steps.pnpm-store.outputs.path }} | |
key: ${{ steps.pnpm-cache.outputs.cache-primary-key }} |