Skip to content

update readme, changeset version #62

update readme, changeset version

update readme, changeset version #62

Workflow file for this run

name: Release
on:
push:
paths:
- '.changeset/**'
- 'packages/**'
branches:
- main
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install Dependencies
run: yarn boot
- name: Build packages
run: yarn build
- name: Create release Pull request or Publish npm
id: changesets
uses: changesets/action@v1
with:
publish: yarn release
commit: 'chore(release): version packages'
title: 'chore(release): version packages'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Creating .npmrc
run: |
cat << EOF > "$HOME/.npmrc"
//registry.npmjs.org/:_authToken=$NPM_TOKEN
EOF
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}