build(deps): bump @nestjs/core from 7.6.18 to 9.0.5 in /quix-frontend #477
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
# Build on each branch and Publish to NPM on master if version bumped | |
name: Quix Frontend Build & Publish | |
on: | |
workflow_dispatch: | |
inputs: | |
comment: | |
description: 'Comment' | |
required: true | |
default: 'Publish' | |
push: | |
paths: | |
- 'quix-frontend/**' | |
defaults: | |
run: | |
working-directory: quix-frontend | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- uses: samin/[email protected] | |
with: | |
mysql database: 'quixtest' | |
mysql version: '5.7' | |
- run: npm ci | |
- run: npm run build:ci | |
- run: npm test | |
- name: Prepare Publish To NPM | |
if: github.ref == 'refs/heads/master' | |
run: | | |
echo "registry=http://registry.npmjs.org/" >> .npmrc | |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Publish | |
if: github.ref == 'refs/heads/master' | |
run: lerna publish from-package --no-verify-access -y --loglevel=debug | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |