Skip to content

feat(meta): add option to display mandatory field hint #348

feat(meta): add option to display mandatory field hint

feat(meta): add option to display mandatory field hint #348

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
main:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'pull_request' }}
steps:
- uses: actions/checkout@v2
name: Checkout [master]
with:
fetch-depth: 0
- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: nrwl/nx-set-shas@v2
with:
main-branch-name: 'master'
- uses: actions/setup-node@v2
with:
node-version: '14'
cache: yarn
- run: yarn install --frozen-lockfile --non-interactive --no-progress --prefer-offline
- run: npx nx affected --target=lint --parallel --max-parallel=3
- run: npx nx affected --target=build --parallel --max-parallel=3
- run: npx nx affected --target=test --parallel --max-parallel=2 --code-coverage
- run: npx nx affected --target=e2e --parallel --max-parallel=2
- name: Codecov upload
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
pr:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' }}
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0
- run: |
git fetch --no-tags --prune origin master
- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: nrwl/nx-set-shas@v2
with:
main-branch-name: 'master'
- uses: actions/setup-node@v2
with:
node-version: '14'
cache: yarn
- run: yarn install --frozen-lockfile --non-interactive --no-progress --prefer-offline
- run: npx nx affected --base=origin/master --target=lint --parallel --max-parallel=3
- run: npx nx affected --base=origin/master --target=build --parallel --max-parallel=3
- run: npx nx affected --base=origin/master --target=test --parallel --max-parallel=2 --code-coverage
- run: npx nx affected --base=origin/master --target=e2e --parallel --max-parallel=2
- name: Clean before merge
run: yarn cleanBeforeMerge
- name: Codecov upload
uses: codecov/codecov-action@v2
with:
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}