Skip to content

Commit

Permalink
chore: support git longpaths in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Sep 20, 2022
1 parent d768311 commit 81982f1
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
run:
shell: bash
steps:
- name: Support Long Pathsg
run: git config --system core.longpaths true
- name: Checkout
uses: actions/checkout@v3
- name: Setup Git User
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
# need to create a GitHub that would create on-demand tokens.
# https://github.com/LouisBrunner/checks-action/issues/18
# details_url:
- name: Support Long Pathsg
run: git config --system core.longpaths true
- name: Checkout
uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -108,6 +110,8 @@ jobs:
# need to create a GitHub that would create on-demand tokens.
# https://github.com/LouisBrunner/checks-action/issues/18
# details_url:
- name: Support Long Pathsg
run: git config --system core.longpaths true
- name: Checkout
uses: actions/checkout@v3
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
run:
shell: bash
steps:
- name: Support Long Pathsg
run: git config --system core.longpaths true
- name: Checkout
uses: actions/checkout@v3
- name: Setup Git User
Expand Down Expand Up @@ -70,6 +72,8 @@ jobs:
run:
shell: ${{ matrix.platform.shell }}
steps:
- name: Support Long Pathsg
run: git config --system core.longpaths true
- name: Checkout
uses: actions/checkout@v3
- name: Setup Git User
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
contents: read
security-events: write
steps:
- name: Support Long Pathsg
run: git config --system core.longpaths true
- name: Checkout
uses: actions/checkout@v3
- name: Setup Git User
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/post-dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
run:
shell: bash
steps:
- name: Support Long Pathsg
run: git config --system core.longpaths true
- name: Checkout
uses: actions/checkout@v3
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
run:
shell: bash
steps:
- name: Support Long Pathsg
run: git config --system core.longpaths true
- name: Checkout
uses: actions/checkout@v3
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
run:
shell: bash
steps:
- name: Support Long Pathsg
run: git config --system core.longpaths true
- name: Checkout
uses: actions/checkout@v3
- name: Setup Git User
Expand Down Expand Up @@ -107,6 +109,8 @@ jobs:
run:
shell: bash
steps:
- name: Support Long Pathsg
run: git config --system core.longpaths true
- name: Checkout
uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -211,6 +215,8 @@ jobs:
run:
shell: bash
steps:
- name: Support Long Pathsg
run: git config --system core.longpaths true
- name: Checkout
uses: actions/checkout@v3
- name: Setup Git User
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.3.2",
"content": "scripts/template-oss",
"engines": ">=10",
"distPaths": [
"index.js"
Expand Down
2 changes: 1 addition & 1 deletion scripts/template-oss/_step-git.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
- name: Setup Git User
run: |
git config --global user.email "npm-cli+bot@github.com"
git config --global user.name "npm CLI robot"
git config --global user.name "npm CLI robot"
Empty file removed scripts/template-oss/index.js
Empty file.

0 comments on commit 81982f1

Please sign in to comment.