Problem:
googleapis/gcs-resumable-upload ci/windows fail due to linter issue of end of line break style for windows (see here)
To temporary unblock me, I removed posttest in package.json, here
Fix Suggestion from @bcoe:
Instead of add .gitattribute to elf in single repo gcs-resumable-upload for windows (example),
maybe in .github/workflows/ci.yaml , add one extra command for windows that just does:
run: print "*.ts text eol=lf\n*.js test eol=lf" > .gitattributes
Steps to reproduce
- add
"posttest": "npm run lint", in repo package.json
Feel free to @summer-ji-eng if you have any question. Thanks!
Problem:
googleapis/gcs-resumable-upload ci/windows fail due to linter issue of end of line break style for windows (see here)
To temporary unblock me, I removed
posttestin package.json, hereFix Suggestion from @bcoe:
Instead of add .gitattribute to elf in single repo gcs-resumable-upload for windows (example),
maybe in
.github/workflows/ci.yaml, add one extra command for windows that just does:run: print "*.ts text eol=lf\n*.js test eol=lf" > .gitattributesSteps to reproduce
"posttest": "npm run lint",in repo package.jsonFeel free to @summer-ji-eng if you have any question. Thanks!