devtools-bp/.github/workflows/ci.yml
2023-08-08 19:15:07 +02:00

27 lines
615 B
YAML

name: CI
on:
pull_request:
branches:
- main
types: [ opened, synchronize, reopened ]
paths:
- .github/workflows/**
- apps/**
- libs/**
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: nrwl/nx-set-shas@v3
- name: Install deps
run: npm ci --legacy-peer-deps
- name: Lint affected
run: npx nx affected -t lint
- name: Test affected
run: npx nx affected -t test --configuration=ci
- name: Build affected
run: npx nx affected -t build