Skip to content

armgit / papra

Public Imported from GitHub
0

The minimalistic document archiving platform.

chore(release): use provenance for release (#604)

Corentin Thomassetc70d7e419aa8
diff --git a/.changeset/thin-lemons-allow.md b/.changeset/thin-lemons-allow.md
new file mode 100644
index 00000000..7f6da963
--- /dev/null
+++ b/.changeset/thin-lemons-allow.md
@@ -0,0 +1,8 @@
+---
+"@papra/api-sdk": patch
+"@papra/cli": patch
+"@papra/lecture": patch
+"@papra/webhooks": patch
+---
+
+Use provenance for releases
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index f7ff4714..b6378091 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -19,14 +19,18 @@ jobs:
actions: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
-
+
- name: Install pnpm
uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- cache: 'pnpm'
+ cache: "pnpm"
+
+ # Ensure npm 11.5.1 or later is installed
+ - name: Update npm
+ run: npm install -g npm@latest
- name: Install dependencies
run: pnpm i
@@ -42,7 +46,6 @@ jobs:
title: "chore(release): update versions"
env:
GITHUB_TOKEN: ${{ secrets.CHANGESET_GITHUB_TOKEN }}
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Trigger Docker build
if: steps.changesets.outputs.published == 'true' && contains(fromJson(steps.changesets.outputs.publishedPackages).*.name, '@papra/docker')