mirror of
https://github.com/dream-num/univer.git
synced 2026-09-19 02:18:42 +08:00
chore(ci): add npm provenance support (#6777)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user