Skip to content

Commit

Permalink
Merge pull request #461 from dwightjack/ci/provenance
Browse files Browse the repository at this point in the history
CI: add provenance statements
  • Loading branch information
dwightjack committed May 2, 2024
2 parents feaaf74 + 45d4c11 commit 3252c35
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/chilly-roses-peel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"vue-types": patch
"vue-types-nuxt": patch
---

Include provenance statements to the package
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ on:

concurrency: ${{ github.workflow }}-${{ github.ref }}

permissions:
id-token: write
contents: read
pull-requests: write

env:
NPM_CONFIG_PROVENANCE: true

jobs:
build_and_release:
runs-on: ubuntu-latest
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/snapshot-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ on:
types: [labeled]
concurrency: ${{ github.workflow }}-${{ github.ref }}

permissions:
id-token: write
contents: read
pull-requests: write
issues: write

env:
NPM_CONFIG_PROVENANCE: true

jobs:
release:
if: |
Expand Down
3 changes: 2 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
],
"repository": {
"type": "git",
"url": "https://github.com/dwightjack/vue-types.git"
"url": "https://github.com/dwightjack/vue-types.git",
"directory": "packages/core"
},
"bugs": "https://github.com/dwightjack/vue-types/issues",
"peerDependencies": {
Expand Down
5 changes: 5 additions & 0 deletions packages/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
"engines": {
"node": ">=16.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/dwightjack/vue-types.git",
"directory": "packages/nuxt"
},
"main": "./dist/module.cjs",
"types": "./dist/types.d.ts",
"files": [
Expand Down

0 comments on commit 3252c35

Please sign in to comment.