Skip to content

combineAsync

combineAsync #19

Workflow file for this run

name: Branch pull request checks
on:
pull_request:
types: [opened, reopened, synchronize]
branches: [master]
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
jobs:
test:
runs-on: ubuntu-latest
name: Test everything
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
- name: Enable corepack
run: |
corepack enable pnpm
pnpm --version
- name: Install deps
run: pnpm --frozen-lockfile install
- name: Run tests
run: pnpm test:ci
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-file: ".nvmrc"
- 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-file: ".nvmrc"
- 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