feat: GitHub CI Changes
- Added test - Package and archive
This commit is contained in:
parent
e53a268508
commit
10641ccbd7
9
.github/workflows/build_and_publish.yml
vendored
9
.github/workflows/build_and_publish.yml
vendored
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user