Skip to content

fix(#1380): Modify step value on Input. Modify time documentation to … #1781

fix(#1380): Modify step value on Input. Modify time documentation to …

fix(#1380): Modify step value on Input. Modify time documentation to … #1781

Workflow file for this run

name: Pull Request Check
on:
pull_request:
branches:
- main
- alpha
- BUGFIX
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v2
with:
node-version: "16"
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
- run: npm ci
# Run with the target branch as the base.
- name: Lint
run: npx nx affected --target=lint --base=origin/${{ github.base_ref }}
- name: Test
run: npx nx affected --target=test --base=origin/${{ github.base_ref }}
- name: Build
run: |
npx nx affected --target=build --base=origin/${{ github.base_ref }}
npx nx affected --target=post --base=origin/${{ github.base_ref }}