Skip to content

Add typing for events and api #13

Add typing for events and api

Add typing for events and api #13

Workflow file for this run

name: Publish
on:
push:
branches:
- 'main'
env:
CAIDO_NODE_VERSION: 20
CAIDO_PNPM_VERSION: 9
jobs:
publish-js:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout project
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.CAIDO_NODE_VERSION }}
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: ${{ env.CAIDO_PNPM_VERSION }}
- name: Publish quickjs-types
uses: ./.github/actions/publish-one
with:
package: quickjs-types
internal: true
secret-npm-token: ${{ secrets.NPM_BOT_TOKEN }}
secret-github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish sdk-backend
uses: ./.github/actions/publish-one
with:
package: sdk-backend
internal: false
secret-npm-token: ${{ secrets.NPM_BOT_TOKEN }}
secret-github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish sdk-shared
uses: ./.github/actions/publish-one
with:
package: sdk-shared
internal: true
secret-npm-token: ${{ secrets.NPM_BOT_TOKEN }}
secret-github-token: ${{ secrets.GITHUB_TOKEN }}