-
Notifications
You must be signed in to change notification settings - Fork 948
31 lines (31 loc) · 967 Bytes
/
bump.yml
File metadata and controls
31 lines (31 loc) · 967 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Bump
on:
push:
branches:
- canary
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
bump:
runs-on: blacksmith-2vcpu-ubuntu-2204
permissions:
contents: write
pull-requests: write
container:
image: node:22
steps:
- name: Checkout Repo
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98
with:
fetch-depth: 1
- run: git config --global --add safe.directory $GITHUB_WORKSPACE
- name: pnpm setup
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320
- name: Install packages
run: pnpm install --frozen-lockfile --prefer-offline
- name: Create "version packages" pull request
uses: changesets/action@6a0a831ff30acef54f2c6aa1cbbc1096b066edaf
with:
version: pnpm run version
title: "chore(root): version packages"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}