-
Notifications
You must be signed in to change notification settings - Fork 10
49 lines (40 loc) · 1.19 KB
/
01-build-packages.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
---
name: Build Packages
on:
workflow_call:
jobs:
build-stencil-targets:
name: Build Packages
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
steps:
- name: ⏬ Checkout repo
uses: actions/checkout@v4
- name: 🔄 Init Cache
uses: ./.github/actions/npm-cache
- name: 🔨 Build Packages
run: npm run build
- name: ⏫ Upload foundations build
uses: actions/upload-artifact@v4
with:
name: db-ui-foundations-build
path: packages/foundations/build
- name: ⏫ Upload output
uses: actions/upload-artifact@v4
with:
name: db-ui-output
path: output
- name: ⏫ Upload components build
uses: actions/upload-artifact@v4
with:
name: db-ui-components-build
path: packages/components/build
- name: ⏫ Upload migration build
uses: actions/upload-artifact@v4
with:
name: db-ui-migration-build
path: packages/migration/build
- name: 💀 Killing me softly
uses: ./.github/actions/cancel-workflow
if: failure()
with:
token: ${{ secrets.GITHUB_TOKEN }}