Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

chore(ci): add npm provenance support (#6777)

白熱6ec25ee51bbe
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index bf90bc489d..6daa5d30b3 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -45,6 +45,9 @@ jobs:
needs: [prepare]
if: github.repository == 'dream-num/univer'
runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ id-token: write
steps:
- name: Checkout
@@ -78,6 +81,7 @@ jobs:
fi
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+ NPM_CONFIG_PROVENANCE: true
build-demo:
runs-on: ubuntu-latest