Skip to content

feat: setup changesets, changed default project name, setup cd #4

feat: setup changesets, changed default project name, setup cd

feat: setup changesets, changed default project name, setup cd #4

Workflow file for this run

name: Publish to npm beta
on:
push:
branches:
- "beta"
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
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
registry-url: "https://registry.npmjs.org"
- name: install dependencies
run: pnpm install
- name: build and publish
uses: changesets/action@v1
with:
publish: pnpm pub:beta
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}