Skip to content

Commit

Permalink
chore: publish packages with provenance (carbon-design-system#3952)
Browse files Browse the repository at this point in the history
  • Loading branch information
elycheea authored Dec 7, 2023
1 parent 4be8bc2 commit ce267b1
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
jobs:
Release_v1:
runs-on: ubuntu-latest
# Recommended by npm for publishing with provenance https://docs.npmjs.com/generating-provenance-statements
permissions:
id-token: write
contents: write

steps:
- name: Checkout
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
jobs:
Release:
runs-on: ubuntu-latest
# Recommended by npm for publishing with provenance https://docs.npmjs.com/generating-provenance-statements
permissions:
id-token: write
contents: write

steps:
- name: Checkout
Expand Down
3 changes: 2 additions & 1 deletion config/storybook-addon-carbon-theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"carbon for ibm products"
],
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
},
"scripts": {
"clean": "rimraf dist",
Expand Down
3 changes: 2 additions & 1 deletion packages/ibm-products-styles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"carbon for ibm products"
],
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
},
"scripts": {
"build": "run-s clean build-first build-all build-css-update-maps",
Expand Down
3 changes: 2 additions & 1 deletion packages/ibm-products/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"carbon for ibm products"
],
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
},
"scripts": {
"build": "run-s clean build-all",
Expand Down

0 comments on commit ce267b1

Please sign in to comment.