Skip to content

migrate to ecosystem wallets and pnpm (#127) #180

migrate to ecosystem wallets and pnpm (#127)

migrate to ecosystem wallets and pnpm (#127) #180

Workflow file for this run

name: Release TDK Packages
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Create release PR or publish to npm
uses: changesets/action@v1
with:
version: pnpm package:version
publish: pnpm package:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}