Skip to content

Commit

Permalink
feat: add provenance badge
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan-Zayne committed Aug 24, 2024
1 parent 3de7baf commit bfb97aa
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .changeset/khaki-kids-run.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@zayne-labs/callapi": patch
---

update with provenance
1 change: 0 additions & 1 deletion .github/workflows/lint-and-type.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
pull_request:
push:
branches: [main, "!changeset-release/**"]
# branches-ignore: changeset-release/**

permissions:
contents: read
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/release-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,22 @@ name: Changesets Release and Publish
on:
push:
branches: main
# workflow_run:
# workflows: [Lint and Type]
# branches: [main]
# types: [completed]
workflow_run:
workflows: Lint and Type
types: completed

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

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

jobs:
release:
# if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'skipped' }}

timeout-minutes: 15
strategy:
matrix:
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"build": "tsup",
"build:dev": "concurrently --prefix-colors \"yellow.bold,#7da4f8.bold,magenta\" --names PUBLINT,TSUP,ATTW 'pnpm:test:publint' \"pnpm build --watch\" 'pnpm:test:attw'",
"version-package": "changeset version",
"release": "changeset publish --provenance"
"release": "changeset publish"
},
"exports": {
".": {
Expand Down Expand Up @@ -59,7 +59,9 @@
"typescript-eslint": "^8.1.0"
},
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org/",
"provenance": true
},
"files": [
"dist"
Expand Down

0 comments on commit bfb97aa

Please sign in to comment.