Skip to content

Merge pull request #106 from token-js/pate/update-contributing #33

Merge pull request #106 from token-js/pate/update-contributing

Merge pull request #106 from token-js/pate/update-contributing #33

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 }}