From ca9fc055fad797a6ac9dadbb08b4b2c550e362c9 Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 23 Oct 2024 01:43:52 +0200 Subject: [PATCH] CI: store built package (dict/) as artifact --- .forgejo/workflows/build.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 4fe6a4f..25ac2b4 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -4,6 +4,7 @@ jobs: runs-on: container steps: - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 name: Install pnpm with: @@ -18,4 +19,11 @@ jobs: - name: Install dependencies run: pnpm install - - run: ng build + - name: Build package (transpile ts => js) + run: ng build + + - name: Store build + uses: actions/upload-artifact@v3 + with: + name: Package + path: dist/