Skip to content

Merge pull request #118 from token-js/pate/new-models #41

Merge pull request #118 from token-js/pate/new-models

Merge pull request #118 from token-js/pate/new-models #41

Workflow file for this run

name: Release packages (prod)
on:
workflow_dispatch:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Publish to NPM
uses: changesets/action@v1
id: changesets
with:
publish: pnpm changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}