From 725a2e3413d83023dc8b97d139eb015efcfcae43 Mon Sep 17 00:00:00 2001 From: asyncapi-bot <61865014+asyncapi-bot@users.noreply.github.com> Date: Thu, 21 Oct 2021 11:29:15 +0200 Subject: [PATCH] ci: update global workflows --- .github/workflows/if-nodejs-pr-testing.yml | 4 ++++ .github/workflows/if-nodejs-release.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/if-nodejs-pr-testing.yml b/.github/workflows/if-nodejs-pr-testing.yml index 8d4b0dba..812e73af 100644 --- a/.github/workflows/if-nodejs-pr-testing.yml +++ b/.github/workflows/if-nodejs-pr-testing.yml @@ -16,6 +16,10 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] steps: + - name: Set git to use LF #to once and for all finish neverending fight between Unix and Windows + run: | + git config --global core.autocrlf false + git config --global core.eol lf - name: Checkout repository uses: actions/checkout@v2 - name: Check if Node.js project and has package.json diff --git a/.github/workflows/if-nodejs-release.yml b/.github/workflows/if-nodejs-release.yml index c03d333f..81a465d8 100644 --- a/.github/workflows/if-nodejs-release.yml +++ b/.github/workflows/if-nodejs-release.yml @@ -46,6 +46,10 @@ jobs: name: Publish to NPM and GitHub runs-on: ubuntu-latest steps: + - name: Set git to use LF #to once and for all finish neverending fight between Unix and Windows + run: | + git config --global core.autocrlf false + git config --global core.eol lf - name: Checkout repository uses: actions/checkout@v2 - name: Check if Node.js project and has package.json