This repository was archived by the owner on Nov 25, 2024. It is now read-only.
fix button proportions #358
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: Branch pull request workflow | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
branches: [master] | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
name: Lint changed files | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.16.0 | |
- name: Enable corepack | |
run: | | |
corepack enable pnpm | |
pnpm --version | |
- name: Install deps | |
run: pnpm --frozen-lockfile install | |
- name: Run eslint on changed files | |
uses: tj-actions/eslint-changed-files@v14 | |
with: | |
reporter: github-pr-check | |
extra_args: "--max-warnings=0" | |
file_extensions: | | |
**/*.ts | |
**/*.tsx | |
**/*.js | |
**/*.mjs | |
**/*.cjs | |
ts-check: | |
runs-on: ubuntu-latest | |
name: Check typescript errors | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.16.0 | |
- name: Enable corepack | |
run: | | |
corepack enable pnpm | |
pnpm --version | |
- name: Install deps | |
run: pnpm --frozen-lockfile install | |
- name: Run ts-check | |
run: pnpm ts-check |