Skip to content

ci(github actions): try #12

ci(github actions): try

ci(github actions): try #12

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 -D
- run: pnpm install -D
- run: npx [email protected] affected -t docker-compose
# - run: npm i -D
# - run: npx [email protected] affected -t docker-compose
# - run: npm add --global nx@latest
# - 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: nx affected -t docker-compose
# - uses: mansagroup/nrwl-nx-action@v3
# with:
# targets: docker-compose
# affected: 'true'