-
-
Notifications
You must be signed in to change notification settings - Fork 52
60 lines (58 loc) · 1.55 KB
/
ecosystem-ci-selected.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# integration tests for vite ecosystem - single run of selected testsuite
name: vite-ecosystem-ci-selected
env:
# 7 GiB by default on GitHub, setting to 6 GiB
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
NODE_OPTIONS: --max-old-space-size=6144
on:
workflow_dispatch:
inputs:
refType:
description: "type of vite ref to use"
required: true
type: choice
options:
- branch
- tag
- commit
- release
default: "branch"
ref:
description: "vite ref to use"
required: true
type: string
default: "main"
suite:
description: "testsuite to run"
required: true
type: choice
options:
- iles
- svelte
- vitepress
- vitest
- windicss
- laravel
- nuxt-framework
- marko
- vite-plugin-ssr
- telefunc
- astro
- rakkas
- storybook
- vite-setup-catalogue
jobs:
execute-selected-suite:
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: denoland/setup-deno@v1
with:
deno-version: v1.19.3
- run: corepack enable
- run: pnpm i --frozen-lockfile
- run: pnpm tsx ecosystem-ci.ts --${{ inputs.refType }} ${{ inputs.ref }} ${{ inputs.suite }}