mirror of
https://github.com/versia-pub/api.git
synced 2026-03-12 20:09:14 +01:00
chore(client): 🏷️ Update client types, add TOS and Privacy Policy APIs
This commit is contained in:
parent
24c5f3effd
commit
6f717fcccd
4 changed files with 34 additions and 3 deletions
7
.github/workflows/publish.yml
vendored
7
.github/workflows/publish.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue