chore: dont publish some packages yet #81
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@master | |
with: | |
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits | |
fetch-depth: 0 | |
- name: Set Node.js 18.x | |
uses: actions/setup-node@master | |
with: | |
node-version: 18.x | |
- name: Cache .yarn | |
uses: actions/cache@v3 | |
with: | |
path: ~/.yarn | |
key: ${{ runner.os }}-node18-${{ hashFiles('**/yarn.lock') }} | |
- name: Enable corepack | |
run: corepack enable | |
- name: Install Dependencies | |
run: yarn install | |
- name: Create Release Pull Request | |
uses: changesets/action@master | |
with: | |
version: yarn run version | |
publish: yarn run release | |
commit: 'chore: update versions' | |
title: 'chore: version packages' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |