Skip to content

Commit ff4c828

Browse files
authored
Merge pull request #300 from aminya/renovate/devdependencies [skip ci]
2 parents 898e68d + d511d1f commit ff4c828

File tree

6 files changed

+108
-98
lines changed

6 files changed

+108
-98
lines changed

.github/renovate.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,18 @@
88
"matchUpdateTypes": ["major", "minor", "patch", "pin", "digest", "lockFileMaintenance", "rollback", "bump"],
99
"groupName": "devDependencies",
1010
"semanticCommitType": "chore",
11-
"automerge": true,
12-
"matchPackageNames": ["!eslint", "!numerous", "!execa"]
11+
"automerge": true
1312
},
1413
{
1514
"matchDepTypes": ["dependencies"],
1615
"matchUpdateTypes": ["major", "minor", "patch", "pin", "digest", "lockFileMaintenance", "rollback", "bump"],
1716
"groupName": "dependencies",
18-
"semanticCommitType": "fix",
19-
"matchPackageNames": ["!eslint", "!numerous", "!execa"]
17+
"semanticCommitType": "fix"
18+
},
19+
{
20+
"matchDatasources": ["npm"],
21+
"matchPackageNames": ["eslint", "numerous", "execa"],
22+
"rangeStrategy": "pin"
2023
}
2124
]
2225
}

.github/workflows/CI.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
- 9.10.0
3333
steps:
3434
- uses: actions/checkout@v4
35+
with:
36+
ref: ${{ github.head_ref || github.ref_name }}
3537

3638
- name: Setup Node
3739
uses: actions/setup-node@v4
@@ -56,13 +58,17 @@ jobs:
5658
run: |
5759
pnpm run test.lint
5860
59-
- name: Validate Dist
61+
- name: Update Dist
6062
run: |
6163
if [ "$(git diff --ignore-space-at-eol --text dist/ | wc -l)" -gt "0" ]; then
62-
echo "Detected uncommitted changes after build. See status below:"
63-
git diff --ignore-space-at-eol --text dist/ ':(exclude)*.js.map'
64-
exit 1
64+
git config user.name "github-actions[bot]"
65+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
66+
git add dist/
67+
git commit -m "chore(build): update dist"
68+
git push
6569
fi
70+
env:
71+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6672

6773
- name: Upload Dist
6874
uses: actions/upload-artifact@v3

cspell.config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ words:
7878
- nodistro
7979
- NOPASSWD
8080
- noprogressbar
81+
- noreply
8182
- nothrow
8283
- npmrc
8384
- Opencppcoverage

dist/legacy/setup-cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/modern/setup-cpp.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)