Skip to content

fix(types/sfc): improve the type inference using withDefaults (#12872) #529

fix(types/sfc): improve the type inference using withDefaults (#12872)

fix(types/sfc): improve the type inference using withDefaults (#12872) #529

Workflow file for this run

name: 'ci'
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Set node version to 18
uses: actions/setup-node@v2
with:
node-version: 18
cache: 'pnpm'
- run: pnpm install
- name: Run unit tests
run: pnpm run test:unit
ssr-sfc-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Set node version to 18
uses: actions/setup-node@v2
with:
node-version: 18
cache: 'pnpm'
- run: pnpm install
- name: Run SSR tests
run: pnpm run test:ssr
- name: Run compiler-sfc tests
run: pnpm run test:sfc
e2e-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Set node version to 18
uses: actions/setup-node@v2
with:
node-version: 18
cache: 'pnpm'
- run: pnpm install
- name: Run e2e tests
run: pnpm run test:e2e
- name: Run transition tests
run: pnpm run test:transition
type-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Set node version to 18
uses: actions/setup-node@v2
with:
node-version: 18
cache: 'pnpm'
- run: pnpm install
- name: Run srouce type check
run: pnpm run ts-check
- name: Run type declaration tests
run: pnpm run test:types