From 10641ccbd769f9f7840657df81d410e57608ca6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B2=81=E6=A0=91=E4=BA=BA?= Date: Sun, 19 Dec 2021 18:33:43 +0000 Subject: [PATCH] feat: GitHub CI Changes - Added test - Package and archive --- .github/workflows/build_and_publish.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build_and_publish.yml b/.github/workflows/build_and_publish.yml index 8979ee6..753aadc 100644 --- a/.github/workflows/build_and_publish.yml +++ b/.github/workflows/build_and_publish.yml @@ -17,6 +17,15 @@ jobs: scope: '@unlock-music' - name: ๐Ÿ“ฆ Install Dependencies run: npm ci + - name: ๐Ÿงพ Test + run: npm test + - name: ๐Ÿ”ฅ Build Package + run: npm pack + - name: ๐Ÿ’พ Archive Package built + uses: actions/upload-artifact@v2 + with: + name: package + path: '*.tgz' - name: ๐Ÿš€ Publish Package run: npm publish if: startsWith(github.ref, 'refs/tags/v')