d6ea474a97
CD / Release (push) Successful in 14s
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | Type | Update | Pending | |---|---|---|---|---|---|---| | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`24.12.4` → `24.13.1`](https://renovatebot.com/diffs/npm/@types%2fnode/24.12.4/24.13.1) |  |  | devDependencies | minor | `24.13.2` | | [actions/checkout](https://github.com/actions/checkout) | `v6.0.2` → `v6.0.3` |  |  | action | patch | | | [ts-jest](https://kulshekhar.github.io/ts-jest) ([source](https://github.com/kulshekhar/ts-jest)) | [`29.4.10` → `29.4.11`](https://renovatebot.com/diffs/npm/ts-jest/29.4.10/29.4.11) |  |  | devDependencies | patch | | --- ### Release Notes <details> <summary>actions/checkout (actions/checkout)</summary> ### [`v6.0.3`](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v603) [Compare Source](https://github.com/actions/checkout/compare/v6.0.2...v6.0.3) - Fix checkout init for SHA-256 repositories by [@​yaananth](https://github.com/yaananth) in [#​2439](https://github.com/actions/checkout/pull/2439) - fix: expand merge commit SHA regex and add SHA-256 test cases by [@​yaananth](https://github.com/yaananth) in [#​2414](https://github.com/actions/checkout/pull/2414) </details> <details> <summary>kulshekhar/ts-jest (ts-jest)</summary> ### [`v29.4.11`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#29411-2026-05-21) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v29.4.10...v29.4.11) ##### Bug Fixes - preserve Bundler on the CJS path under TypeScript >= 6 ([3941818](https://github.com/kulshekhar/ts-jest/commit/39418187515f11b6584d35a4e3ddf50231f74936)), closes [#​4198](https://github.com/kulshekhar/ts-jest/issues/4198) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My41LjQiLCJ1cGRhdGVkSW5WZXIiOiI0My41LjQiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImFjdGlvbiIsImRlcHMiXX0=--> Reviewed-on: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment/pulls/78 Reviewed-by: t.behrendt <2+t.behrendt@noreply.localhost> Co-authored-by: Renovate Bot <renovate@t00n.de> Co-committed-by: Renovate Bot <renovate@t00n.de>
100 lines
3.0 KiB
YAML
100 lines
3.0 KiB
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
name: Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
|
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
|
with:
|
|
node-version-file: .nvmrc
|
|
- run: npm ci
|
|
- name: Format code
|
|
run: npm run format
|
|
- name: Typecheck
|
|
run: npm run typecheck
|
|
- name: Run test
|
|
run: npm run test
|
|
|
|
check-dist:
|
|
name: Check Dist
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
|
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
|
with:
|
|
node-version-file: .nvmrc
|
|
- run: npm ci
|
|
- run: mv dist dist_orig
|
|
- run: npm run build
|
|
- run: |
|
|
original_hash=$(sha256sum dist_orig/index.js | cut -d' ' -f1)
|
|
new_hash=$(sha256sum dist/index.js | cut -d' ' -f1)
|
|
if [ "$original_hash" != "$new_hash" ]; then
|
|
echo "Build is not up to date. Original hash: $original_hash, new hash: $new_hash"
|
|
exit 1
|
|
fi
|
|
|
|
dry-run:
|
|
name: Dry-Run
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
|
with:
|
|
node-version-file: .nvmrc
|
|
- run: npm ci
|
|
- name: Increment tag
|
|
id: increment-tag
|
|
uses: ./
|
|
with:
|
|
token: ${{ secrets.GITEA_TOKEN }}
|
|
- name: Print new tag
|
|
run: |
|
|
if [ -z "${{ steps.increment-tag.outputs.new-tag }}" ]; then
|
|
echo "No new tag found"
|
|
exit 1
|
|
fi
|
|
|
|
echo "New tag: ${{ steps.increment-tag.outputs.new-tag }}"
|
|
|
|
dry-run-prerelease:
|
|
name: Dry-Run Prerelease
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
|
with:
|
|
node-version-file: .nvmrc
|
|
- run: npm ci
|
|
- name: Create prerelease tag
|
|
id: prerelease-tag
|
|
uses: ./
|
|
with:
|
|
token: ${{ secrets.GITEA_TOKEN }}
|
|
prerelease: "true"
|
|
- name: Print new tag
|
|
run: |
|
|
if [ -z "${{ steps.prerelease-tag.outputs.new-tag }}" ]; then
|
|
echo "No new tag found"
|
|
exit 1
|
|
fi
|
|
|
|
echo "New tag: ${{ steps.prerelease-tag.outputs.new-tag }}"
|
|
- name: Verify prerelease tag format
|
|
run: |
|
|
if [[ "${{ steps.prerelease-tag.outputs.new-tag }}" =~ -rc-[a-f0-9]{7,}$ ]]; then
|
|
echo "✓ Prerelease tag format is correct"
|
|
else
|
|
echo "✗ Prerelease tag format is incorrect. Expected format: X.Y.Z-rc-<sha>"
|
|
exit 1
|
|
fi
|