Skip to content

chore(deps): bump the npm_and_yarn group across 1 directory with 3 up… #5

chore(deps): bump the npm_and_yarn group across 1 directory with 3 up…

chore(deps): bump the npm_and_yarn group across 1 directory with 3 up… #5

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
permissions: {}
jobs:
release:
name: Release
permissions:
contents: write # to create release (changesets/action)
issues: write # to post issue comments (changesets/action)
pull-requests: write # to create pull request (changesets/action)
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v3
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install deps
run: pnpm install
- name: Build
run: pnpm run build
- name: Create Release Pull Request or Publish to npm
uses: changesets/action@v1
with:
version: pnpm run update:version
publish: pnpm run publish
commit: "chore(release): version update"
title: "chore(release): version update"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}