From 03c914c481f8369423f9baa804e1482ce3842e79 Mon Sep 17 00:00:00 2001 From: Nicolas Dupont Date: Wed, 10 Dec 2025 10:12:11 +0100 Subject: [PATCH 1/3] Publish to npm before GitHub to avoid mismatch --- .github/workflows/release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b78ed5f3c..cb1b3f609 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,6 +57,12 @@ jobs: branch: main unprotect_reviews: true + - name: Update npm + run: npm install -g npm@latest + + - name: Publish to NPM public repository + run: npm publish + - name: Push changes to repository run: git push origin && git push --tags @@ -67,12 +73,6 @@ jobs: body: ${{ steps.release-changelog.outputs.content }} token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }} - - name: Update npm - run: npm install -g npm@latest - - - name: Publish to NPM public repository - run: npm publish - - name: Trigger documentation deploy uses: peter-evans/repository-dispatch@v2 with: From e97d763e512b925d1691e259ed20cc9dbaa62cf1 Mon Sep 17 00:00:00 2001 From: Nicolas Dupont Date: Wed, 10 Dec 2025 10:13:35 +0100 Subject: [PATCH 2/3] Add provenance attestation --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cb1b3f609..c9b15a5e8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -61,7 +61,7 @@ jobs: run: npm install -g npm@latest - name: Publish to NPM public repository - run: npm publish + run: npm publish --provenance - name: Push changes to repository run: git push origin && git push --tags From d779967ec35c057b8204456830b98346439ab526 Mon Sep 17 00:00:00 2001 From: Nicolas Dupont Date: Wed, 10 Dec 2025 10:34:17 +0100 Subject: [PATCH 3/3] Add changelog entry --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c16db4b4a..d3812aec5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All changes that impact users of this module are documented in this file, in the [Common Changelog](https://common-changelog.org) format with some additional specifications defined in the CONTRIBUTING file. This codebase adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased [no-release] + +_Modifications made in this changeset do not add, remove or alter any behavior, dependency, API or functionality of the software. They only change non-functional parts of the repository, such as the README file or CI workflows._ + ## 10.1.2 - 2025-12-09 _Full changeset and discussions: [#1212](https://github.com/OpenTermsArchive/engine/pull/1212)._