chore: download artifact action added to pipeline

This commit is contained in:
Junior García 2021-08-14 18:42:00 -03:00
parent 3073fd0f61
commit 279b91eeeb

View File

@ -48,6 +48,10 @@ jobs:
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
- uses: actions/upload-artifact@v2
with:
name: dist
path: ./packages/nextui/dist
tests:
needs: [lint, build]
@ -80,6 +84,10 @@ jobs:
node-version: '12'
- name: Install dependencies
run: yarn install --frozen-lockfile
- uses: actions/download-artifact@v2
with:
name: dist
path: ./packages/nextui/dist
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}