Created
October 12, 2022 21:34
-
-
Save shinokada/958182e8473fef5d7d7b8a730f3c0083 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # https://github.com/vuejs/vue/blob/main/.github/workflows/ci.yml | |
| 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 16 | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: 16 | |
| 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 16 | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: 16 | |
| 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 16 | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: 16 | |
| 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 16 | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: 16 | |
| 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment