Skip to content

Commit

Permalink
lala
Browse files Browse the repository at this point in the history
  • Loading branch information
Lehoczky committed Dec 6, 2024
1 parent 41d4059 commit 02338a5
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,15 @@ jobs:
# id: affected-packages
# run: npx nx show projects --affected >> $GITHUB_OUTPUT

- id: affected-packages
run: |
echo 'AFFECTED<<EOF' >> $GITHUB_ENV
npx nx show projects --affected >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
- uses: actions/github-script@v7
id: affected-packages
with:
script: |
const { spawnSync } = require("node:child_process")
const command = spawnSync("npx nx show projects --affected", { shell: true })
return command.stdout.toString().replaceAll("\n", " ")
- run: echo ${{env.AFFECTED}}
- run: echo ${{steps.affected-packages.outputs.result}}

# - name: Check formatting 🎨
# run: npx nx format:check
Expand Down

0 comments on commit 02338a5

Please sign in to comment.