Skip to content

Commit

Permalink
Merge pull request #300 from aminya/renovate/devdependencies [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya authored Sep 21, 2024
2 parents 898e68d + d511d1f commit ff4c828
Show file tree
Hide file tree
Showing 6 changed files with 108 additions and 98 deletions.
11 changes: 7 additions & 4 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,18 @@
"matchUpdateTypes": ["major", "minor", "patch", "pin", "digest", "lockFileMaintenance", "rollback", "bump"],
"groupName": "devDependencies",
"semanticCommitType": "chore",
"automerge": true,
"matchPackageNames": ["!eslint", "!numerous", "!execa"]
"automerge": true
},
{
"matchDepTypes": ["dependencies"],
"matchUpdateTypes": ["major", "minor", "patch", "pin", "digest", "lockFileMaintenance", "rollback", "bump"],
"groupName": "dependencies",
"semanticCommitType": "fix",
"matchPackageNames": ["!eslint", "!numerous", "!execa"]
"semanticCommitType": "fix"
},
{
"matchDatasources": ["npm"],
"matchPackageNames": ["eslint", "numerous", "execa"],
"rangeStrategy": "pin"
}
]
}
14 changes: 10 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
- 9.10.0
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref || github.ref_name }}

- name: Setup Node
uses: actions/setup-node@v4
Expand All @@ -56,13 +58,17 @@ jobs:
run: |
pnpm run test.lint
- name: Validate Dist
- name: Update Dist
run: |
if [ "$(git diff --ignore-space-at-eol --text dist/ | wc -l)" -gt "0" ]; then
echo "Detected uncommitted changes after build. See status below:"
git diff --ignore-space-at-eol --text dist/ ':(exclude)*.js.map'
exit 1
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add dist/
git commit -m "chore(build): update dist"
git push
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload Dist
uses: actions/upload-artifact@v3
Expand Down
1 change: 1 addition & 0 deletions cspell.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ words:
- nodistro
- NOPASSWD
- noprogressbar
- noreply
- nothrow
- npmrc
- Opencppcoverage
Expand Down
2 changes: 1 addition & 1 deletion dist/legacy/setup-cpp.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/modern/setup-cpp.mjs.map

Large diffs are not rendered by default.

Loading

0 comments on commit ff4c828

Please sign in to comment.