Skip to content

Version Packages (#131) #94

Version Packages (#131)

Version Packages (#131) #94

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1
- name: Create Release Pull Request or Publish to npm
uses: changesets/action@master
with:
commit: 'chore(release): publish'
publish: yarn release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}