Skip to content

Commit

Permalink
feat: enable provenance (#13247)
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev committed May 18, 2023
1 parent 3609e79 commit e62f8da
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 28 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Expand Up @@ -12,6 +12,9 @@ jobs:
# prevents this action from running on forks
if: github.repository == 'vitejs/vite'
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
environment: Release
steps:
- name: Checkout
Expand Down
6 changes: 5 additions & 1 deletion package.json
Expand Up @@ -6,6 +6,10 @@
"node": "^14.18.0 || >=16.0.0"
},
"homepage": "https://vitejs.dev/",
"repository": {
"type": "git",
"url": "git+https://github.com/vitejs/vite.git"
},
"keywords": [
"frontend",
"hmr",
Expand Down Expand Up @@ -60,7 +64,7 @@
"@types/ws": "^8.5.4",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"@vitejs/release-scripts": "^1.1.0",
"@vitejs/release-scripts": "^1.2.0",
"conventional-changelog-cli": "^2.2.2",
"eslint": "^8.38.0",
"eslint-define-config": "^1.18.0",
Expand Down
40 changes: 14 additions & 26 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/publishCI.ts
@@ -1,3 +1,3 @@
import { publish } from '@vitejs/release-scripts'

publish({ defaultPackage: 'vite' })
publish({ defaultPackage: 'vite', provenance: true })

0 comments on commit e62f8da

Please sign in to comment.