build(deps): bump send and express #189
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'lib-workflow' | |
on: | |
push: | |
branches: ['**'] | |
workflow_dispatch: | |
jobs: | |
build-test-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
cache: 'npm' | |
- name: Install main dependencies | |
run: npm install | |
- name: Install lib dependencies | |
run: npm install --prefix ./projects/ngx-tippy-wrapper | |
- name: Run unit-tests and generate test coverage | |
run: npm run unit-tests:lib-coverage | |
- name: Upload coverage report to codecov | |
run: npm run unit-tests:lib-codecov | |
- name: Build lib npm package | |
run: npm run package | |
- name: Archive production artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: lib-npm-package | |
path: dist/ngx-tippy-wrapper/ngx-tippy-wrapper-**.tgz | |
- name: Install lib to demo app | |
run: npm install dist/ngx-tippy-wrapper/ngx-tippy-wrapper-**.tgz | |
- name: Build demo app in production mode | |
run: npm run build:demo | |
- name: Deploy demo app to gh-pages | |
if: ${{ github.ref == 'refs/heads/master' }} | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: dist/ngx-tippy-demo |