chore(deps-dev): bump typescript from 5.7.2 to 5.7.3 #893
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: PR | |
on: | |
pull_request: | |
branches: | |
- main | |
# Cancel previously running workflows | |
concurrency: | |
group: pr-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Cache Yarn dependencies | |
id: cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
node_modules | |
.yarn/cache | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Build all packages | |
run: yarn workspaces foreach --recursive --topological run build | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Cache Yarn dependencies | |
id: cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
node_modules | |
.yarn/cache | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Setup Biome | |
uses: biomejs/setup-biome@v2 | |
- name: Check linting, formatting, and imports | |
run: biome ci | |
typecheck: | |
name: Type Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Cache Yarn dependencies | |
id: cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
node_modules | |
.yarn/cache | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Run type checking | |
run: yarn typecheck | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Cache Yarn dependencies | |
id: cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
node_modules | |
.yarn/cache | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Run tests | |
run: yarn test |