From b307406aadbedb64c4350edc9bd7670385311bd0 Mon Sep 17 00:00:00 2001 From: Lukas Taegert-Atkinson Date: Sun, 25 Aug 2019 09:08:56 +0200 Subject: [PATCH] Try to fix line-break issue in Windows --- .github/workflows/nodejs.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 11e1d9ccd78..6264361c5eb 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -12,16 +12,19 @@ jobs: node-version: [6.x, 10.x] steps: - - uses: actions/checkout@v1 + - name: Configure git line-breaks + run: git config --global core.autocrlf false + - name: Checkout repository + uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - name: Check Node Version run: IF ${{ matrix.node-version }} LSS 8 npm i npm@5 -g - - name: npm install + - name: Install dependencies run: npm ci --ignore-scripts - - name: npm test + - name: Run tests run: npm test env: CI: true