Skip to content

Commit 74929aa

Browse files
committed
ci: WIP
1 parent 2801086 commit 74929aa

File tree

3 files changed

+18
-10
lines changed

3 files changed

+18
-10
lines changed

.github/workflows/01-build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,16 @@ jobs:
1717
- name: 🍼 Create pages build
1818
run: npm run build
1919

20-
- name: ⬆️Upload build
20+
- name: ⬆️Upload page build
2121
uses: actions/upload-artifact@v3
2222
with:
2323
name: build
2424
path: public
25+
26+
- name: ⬆️Upload package build
27+
uses: actions/upload-artifact@v3
28+
with:
29+
name: package
30+
path: |
31+
dist/
32+
sources/

.github/workflows/03-publish-packages.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ jobs:
2929
- name: 🔄 Init Cache
3030
uses: ./.github/actions/npm-cache
3131

32-
- name: ➡ Get Package theme
33-
id: getPkgTheme
34-
run: |
35-
if [[ $DBUI_THEME != 'default' ]]; then
36-
echo "::set-output name=pkgTheme::-$DBUI_THEME"
37-
else
38-
echo "::set-output name=pkgTheme::"
39-
fi
32+
- name: ⬇️Download package build
33+
uses: actions/download-artifact@v3
34+
with:
35+
name: package
36+
path: ./
37+
38+
- name: Display structure of downloaded files
39+
run: ls -R
4040

4141
- name: 📰 Publish to NPM Registries
4242
run: |

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@db-ui/core",
3-
"version": "2.0.0-48",
3+
"version": "0.0.0",
44
"description": "Technical Frontend implementation of the DB UX Design System.",
55
"style": "./dist/css/enterprise/db-ui-core.css",
66
"sass": "./sources/css/enterprise/db-ui-core.scss",

0 commit comments

Comments
 (0)