Skip to content

Version Packages (#90) #133

Version Packages (#90)

Version Packages (#90) #133

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
with:
token: ${{ secrets.GH_PAT }}
- uses: actions/cache@v2
with:
path: |
.yarn/cache
node_modules
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('./yarn.lock') }}
- name: Setup Node.js 16
uses: actions/setup-node@v2
with:
node-version: "16.17.1"
cache: "yarn"
- name: Install Dependencies
run: yarn --immutable
- name: Create Release Pull Request
uses: changesets/action@v1
with:
publish: yarn publish-packages
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}