chore(client): 🏷️ Update client types, add TOS and Privacy Policy APIs

This commit is contained in:
Jesse Wierzbinski 2024-06-11 14:54:21 -10:00
parent 24c5f3effd
commit 6f717fcccd
No known key found for this signature in database
4 changed files with 34 additions and 3 deletions

View file

@ -29,7 +29,8 @@ on:
options:
- npm
- jsr
default: "npm"
- both
default: "both"
permissions:
contents: read
@ -60,11 +61,11 @@ jobs:
run: 'sed -i ''s/"version": ".*"/"version": "${{ github.event.inputs.version }}"/'' package.json ${{ github.event.inputs.package }}/package.json ${{ github.event.inputs.package }}/jsr.jsonc'
- name: Publish to NPM
if: ${{ github.event.inputs.registry == 'npm' }}
if: ${{ github.event.inputs.registry == 'npm' }} || ${{ github.event.inputs.registry == 'both' }}
run: cd ${{ github.event.inputs.package }} && npm publish --provenance --tag ${{ github.event.inputs.tag }} --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish to JSR
if: ${{ github.event.inputs.registry == 'jsr' }}
if: ${{ github.event.inputs.registry == 'jsr' }} || ${{ github.event.inputs.registry == 'both' }}
run: cd ${{ github.event.inputs.package }} && bun install --frozen-lockfile && bunx jsr publish --allow-slow-types --allow-dirty