chore(deps-dev): bump @nrwl/workspace from 15.7.1 to 19.8.4 #79
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
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs | |
name: CI/CD affected modules | |
on: | |
pull_request: | |
branches: ['main'] | |
jobs: | |
pull-request: | |
name: Running on node ${{ matrix.node_version }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node_version: ['16.x'] | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js ${{ matrix.node_version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node_version }} | |
- name: Add Nx globally | |
run: npm install -g nx && yarn | |
- name: Run unit tests on affected modules | |
run: yarn nx affected --target=test --base=origin/main --parallel | |
- name: Run unit build on affected modules | |
run: yarn nx affected --target=build --base=origin/main --parallel |