Bring SableCall Up-to-Date With ElementCall Upstream #17
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, format & type check | |
| on: | |
| pull_request: {} | |
| env: | |
| PNPM_CONFIG_PM_ON_FAIL: ignore | |
| jobs: | |
| prettier: | |
| name: Lint, format & type check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| with: | |
| persist-credentials: false | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4 | |
| - name: pnpm cache | |
| uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 | |
| with: | |
| cache: "pnpm" | |
| node-version-file: ".node-version" | |
| - name: Install dependencies | |
| run: "pnpm install --frozen-lockfile" | |
| - name: format check | |
| run: "pnpm run format:check" | |
| - name: i18n check | |
| run: "pnpm run i18n:check" | |
| - name: oxlint | |
| run: "pnpm run lint:oxlint" | |
| - name: tsc | |
| run: "pnpm run lint:types" | |
| - name: knip | |
| run: "pnpm run lint:knip" |