From 11af62d235e1ad8d14bf6aa5398463fc5cb58233 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Thu, 5 Aug 2021 17:03:27 +0200 Subject: [PATCH] github/workflows: use LF line endings in e2e-win Signed-off-by: Patrik Oldsberg --- .github/workflows/e2e-win.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/e2e-win.yml b/.github/workflows/e2e-win.yml index 1844700cea..3e2fbe0863 100644 --- a/.github/workflows/e2e-win.yml +++ b/.github/workflows/e2e-win.yml @@ -25,6 +25,13 @@ jobs: name: Node ${{ matrix.node-version }} on ${{ matrix.os }} steps: + # In order to have the create-app template function as if it was downloaded from NPM + # we need to make sure we checkout files with LF line endings only + - name: Set git to use LF + run: | + git config --global core.autocrlf false + git config --global core.eol lf + - uses: actions/checkout@v2 - name: use node.js ${{ matrix.node-version }}