-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (53 loc) · 1.83 KB
/
ci.yml
File metadata and controls
58 lines (53 loc) · 1.83 KB
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
name: CI
on:
push:
pull_request:
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: "22.12.0"
cache: npm
- run: npm ci
- run: npm run check
- run: npm run smoke:packed
generated-runtime-matrix:
name: generated-runtime-matrix (${{ matrix.group.name }})
needs: validate
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
max-parallel: 3
matrix:
group:
- name: frontend-core
args: --scenario landing-react-vite --scenario frontend-nextjs --scenario frontend-react-vite-netlify --scenario frontend-astro --scenario frontend-remix-bun
- name: frontend-apps
args: --scenario frontend-vue-vite --scenario frontend-nuxt --scenario frontend-svelte --scenario frontend-solidjs
- name: backends
args: --scenario backend-express --scenario backend-fastify --scenario backend-hono --scenario backend-koa-javascript --scenario backend-nestjs
- name: fullstack-workspaces
args: --scenario fullstack-nextjs --scenario fullstack-react-api --scenario microfrontend-workspace
- name: extensions-cli
args: --scenario chrome-extension-react --scenario chrome-extension-vanilla-ts --scenario cli-tool
steps:
- uses: actions/checkout@v6
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- uses: actions/setup-node@v6
with:
node-version: "22.12.0"
cache: npm
- run: npm ci
- run: npm run build
- run: node dist/bin/runtime-matrix.js ${{ matrix.group.args }}