Skip to content

chore(deps): update dependency @changesets/cli to ^2.27.10 #199

chore(deps): update dependency @changesets/cli to ^2.27.10

chore(deps): update dependency @changesets/cli to ^2.27.10 #199

Workflow file for this run

name: Release
on:
push:
branches:
- master
permissions:
contents: write
pull-requests: write
jobs:
release:
name: Release
runs-on: ubuntu-latest
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
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install Dependencies
run: yarn install
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: yarn run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.SHARED_BOT_NPM_TOKEN }}
- name: Publish next snapshot
if: steps.changesets.outputs.published != 'true'
run: |
yarn changeset version --snapshot next
yarn changeset publish --no-git-tag --snapshot --tag next
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.SHARED_BOT_NPM_TOKEN }}