Skip to content

Commit 6565c6e

Browse files
authored
ci: update global workflows
1 parent 810988b commit 6565c6e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/if-nodejs-pr-testing.yml

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ jobs:
1616
matrix:
1717
os: [ubuntu-latest, macos-latest, windows-latest]
1818
steps:
19+
- name: Set git to use LF #to once and for all finish neverending fight between Unix and Windows
20+
run: |
21+
git config --global core.autocrlf false
22+
git config --global core.eol lf
1923
- name: Checkout repository
2024
uses: actions/checkout@v2
2125
- name: Check if Node.js project and has package.json

.github/workflows/if-nodejs-release.yml

+4
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ jobs:
4646
name: Publish to NPM and GitHub
4747
runs-on: ubuntu-latest
4848
steps:
49+
- name: Set git to use LF #to once and for all finish neverending fight between Unix and Windows
50+
run: |
51+
git config --global core.autocrlf false
52+
git config --global core.eol lf
4953
- name: Checkout repository
5054
uses: actions/checkout@v2
5155
- name: Check if Node.js project and has package.json

0 commit comments

Comments
 (0)