Add const for pc year to frontend for links #1209
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: frontend-linter | |
| on: | |
| pull_request: | |
| paths: | |
| - 'frontend/**' | |
| - '.github/workflows/frontend-linter.yml' | |
| jobs: | |
| linter-test: | |
| name: Linter Test | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [24.x] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name : Enable Corepack | |
| run: corepack enable | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v6 | |
| with: | |
| run_install: false | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'pnpm' | |
| - name: Install | |
| run: | | |
| cd frontend | |
| pnpm install --ignore-scripts | |
| - name: Type Check | |
| run: | | |
| cd frontend | |
| pnpm run type-check | |
| env: | |
| CI: true | |
| - name: Lint | |
| run: | | |
| cd frontend | |
| pnpm run lint | |
| env: | |
| CI: true |