devtools-bp/.github/workflows/ci.yml
2023-08-05 16:31:17 +02:00

27 lines
571 B
YAML

name: CI
on:
pull_request:
branches:
- main
types:
- opened
- synchronize
- edited
- ready_for_review
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
- 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