From e443382213c822c4aa7f25c699fc533478fa184b Mon Sep 17 00:00:00 2001 From: Davide Segullo Date: Wed, 25 Oct 2023 10:35:28 +0200 Subject: [PATCH] ci: :green_heart: fix build --- .github/actions/release/action.yml | 2 +- .github/actions/setup/action.yml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/actions/release/action.yml b/.github/actions/release/action.yml index c9c44eea..82ba1634 100644 --- a/.github/actions/release/action.yml +++ b/.github/actions/release/action.yml @@ -21,7 +21,7 @@ runs: # like NPM_CONFIG_REGISTRY so npm publish ends up ignoring the .npmrc file # which is set up by `setup-node` action. shell: bash - run: npx nx affected --target=version + run: npx nx affected -t version --parallel=1 - name: Push changes uses: ad-m/github-push-action@master diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 9fc8aaa1..25d8e523 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -24,6 +24,9 @@ runs: token: ${{ inputs.git_bot_token || github.token }} fetch-depth: 0 + - name: Derive appropriate SHAs for base and head for `nx affected` commands + uses: nrwl/nx-set-shas@v4 + - name: Setup git user to "🤖 nabla Bot" shell: bash run: git config user.email "-" && git config user.name "🤖 nabla Bot"