Skip to content

v17 update

v17 update #40

name: Nx Affected CI Tests
on:
pull_request:
branches: [main]
paths-ignore:
- '**.md'
env:
NX_BRANCH: ${{ github.event.number }}
NX_RUN_GROUP: ${{ github.run_id }}
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- uses: actions/checkout@v2
with:
fetch-depth: 0
- run: git fetch origin main
- name: npm install
run: npm install
- name: Run Affected Unit Tests
shell: bash
run: npm run affected:test -- --base=remotes/origin/main
- name: Run Affected E2E Tests
shell: bash
run: npm run affected:e2e -- --base=remotes/origin/main