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