Skip to content

test: pin esbuild to 0.16 for karma-esbuild compat #526

test: pin esbuild to 0.16 for karma-esbuild compat

test: pin esbuild to 0.16 for karma-esbuild compat #526

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