Skip to content

Version Packages (#11) #16

Version Packages (#11)

Version Packages (#11) #16

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
name: Publish & Deploy
runs-on: ubuntu-latest
env:
CI: true
steps:
- uses: actions/checkout@main
- name: Install pnpm
uses: pnpm/action-setup@v3
- name: Setup Node.js
uses: actions/setup-node@main
with:
node-version-file: ".nvmrc"
cache: "pnpm"
- name: Install Dependencies
run: pnpm i
- name: Create release PR or publish to npm
uses: changesets/action@v1
with:
version: pnpm run version
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}