Skip to content

Add tsup and schema typings (#2) #6

Add tsup and schema typings (#2)

Add tsup and schema typings (#2) #6

Workflow file for this run

name: Publish
on:
push:
branches:
- 'main'
jobs:
publish-js:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout project
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: 9
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm run build
- name: Publish
env:
NPM_TOKEN: ${{ secrets.NPM_BOT_TOKEN }}
run: pnpm -r publish --access public