Skip to content

chore(repo): Package updates (#461) #377

chore(repo): Package updates (#461)

chore(repo): Package updates (#461) #377

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
setup:
runs-on: ubuntu-latest
name: Setup Dependencies
steps:
- uses: actions/checkout@v4
- name: Set up Node.js ${{ matrix.node-version }}
uses: ./.github/actions/cache-restore
id: cache-node-modules
- name: Enable Corepack
run: corepack enable
- name: Install dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: yarn install --immutable
release:
name: Package Version and Release
runs-on: ubuntu-latest
needs: [setup]
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
persist-credentials: false
- name: Set up Node.js
uses: ./.github/actions/cache-restore
with:
node-version: 20
- name: Create Release Pull Request
uses: changesets/action@v1
with:
publish: yarn publish-ci
env:
GITHUB_TOKEN: ${{ secrets.GUC_BOT_TOKEN }}
NPM_TOKEN: ${{secrets.NPM_TOKEN}}