Skip to content

Commit e3e98a0

Browse files
committed
Enable provenance and GitHub releases
1 parent 47655bc commit e3e98a0

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ jobs:
2121
if: github.repository_owner == 'GeKorm'
2222
environment: production
2323
runs-on: ubuntu-latest
24+
permissions:
25+
id-token: write
26+
attestations: write
2427
steps:
2528
- name: Checkout Repo
2629
uses: actions/checkout@v4

.github/workflows/snapshot-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
environment: production
3636
permissions:
3737
id-token: write
38+
attestations: write
3839
contents: write
3940
pull-requests: write
4041
if: |

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"lint:root": "CHECK_REDOS=true eslint .",
2020
"emit-types": "turbo run emit-types --concurrency=100% --cache-dir=.turbo",
2121
"typecheck": "turbo run typecheck --concurrency=100% --cache-dir=.turbo",
22-
"release": "turbo run build --cache-dir=.turbo && yarn workspaces foreach -A -p -j unlimited --no-private npm publish --tolerate-republish",
22+
"release": "turbo run build --cache-dir=.turbo && yarn workspaces foreach -A -p -j unlimited --no-private npm publish --tolerate-republish && changeset tag",
2323
"format": "prettier --write \"**/*.{cjs,js,mjs,ts,tsx,md,json}\""
2424
},
2525
"devDependencies": {

packages/plugins/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
"bugs": {
3131
"url": "https://github.com/gekorm/better-auth-harmony/issues"
3232
},
33+
"publishConfig": {
34+
"access": "public",
35+
"provenance": true
36+
},
3337
"main": "./dist/index.cjs",
3438
"module": "./dist/index.js",
3539
"exports": {

0 commit comments

Comments
 (0)