-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (34 loc) · 944 Bytes
/
Copy pathchangesets.yml
File metadata and controls
40 lines (34 loc) · 944 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
32
33
34
35
36
37
38
39
40
name: Changesets
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
version:
name: Version packages
runs-on: ubuntu-latest
if: github.actor != 'github-actions[bot]'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: "24"
- name: Install Changesets
run: |
mkdir -p /tmp/memoneo-changesets
cd /tmp/memoneo-changesets
npm install --no-package-lock --ignore-scripts @changesets/cli@^2.31.0
echo "/tmp/memoneo-changesets/node_modules/.bin" >> "$GITHUB_PATH"
- name: Create version PR
uses: changesets/action@v1
with:
version: changeset version
title: Version packages
commit: Version packages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}