feat: GitHub CI Changes
- Added test - Package and archive
This commit is contained in:
parent
3737db8c6d
commit
748a7f97bd
|
@ -17,6 +17,15 @@ jobs:
|
||||||
scope: '@unlock-music'
|
scope: '@unlock-music'
|
||||||
- name: 📦 Install Dependencies
|
- name: 📦 Install Dependencies
|
||||||
run: npm ci
|
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
|
- name: 🚀 Publish Package
|
||||||
run: npm publish
|
run: npm publish
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
|
|
Loading…
Reference in New Issue