From 000ec167a93a0197c021a40251a75c3ddd59c61e Mon Sep 17 00:00:00 2001 From: Jen Jones Arnesen Date: Tue, 11 Jun 2024 13:06:19 +0200 Subject: [PATCH] chore: try uploading artifact to current repo --- .github/workflows/copy-build-to-d2-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/copy-build-to-d2-ci.yml b/.github/workflows/copy-build-to-d2-ci.yml index 0681e7e91..3e9aa7852 100644 --- a/.github/workflows/copy-build-to-d2-ci.yml +++ b/.github/workflows/copy-build-to-d2-ci.yml @@ -35,6 +35,14 @@ jobs: - name: Build package run: yarn build + - uses: actions/upload-artifact@v2 + with: + name: lib-build + path: | + **/build + !**/node_modules + retention-days: 2 + - name: Pack and unpack the build to a directory named 'package' run: yarn pack --filename output.tgz && tar -xzf output.tgz