devtools-bp/.github/workflows/ci.yml
2023-07-14 19:04:28 +02:00

24 lines
512 B
YAML

name: CI
on:
push:
branches:
- '*'
- '*/*'
- '**'
- '!main'
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