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')