fix(packages): update non-major dependency versions (#469) #391
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: | |
- 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: Enable Corepack | |
run: corepack enable | |
- 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}} |