Skip to content

ci(git actions): try #8

ci(git actions): try

ci(git actions): try #8

name: deploy-changed-apps
on:
push:
branches:
- master
jobs:
build_and_deploy:
runs-on: ubuntu-latest
name: Check affected apps
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# Setup pnpm
# - uses: pnpm/action-setup@v2
# with:
# version: 8
# - run: pnpm install
- run: npm ls --depth=0 --parseable=true | grep '/@nx/' | awk -F'/' '{printf "%s/%s\n", $(NF-1), $NF}' | xargs npm install
- run: npx nx@latest affected -t docker-compose
# - run: npx nx affected -t docker-compose
# - run: npm add --global nx@latest
# - run: npm add --global nx@latest
# - run: nx affected -t docker-compose
# - run: npx nx affected -t docker-compose
# - uses: mansagroup/nrwl-nx-action@v3
# with:
# targets: docker-compose
# affected: 'true'