-
Notifications
You must be signed in to change notification settings - Fork 36
50 lines (41 loc) · 1.08 KB
/
changesets.yml
File metadata and controls
50 lines (41 loc) · 1.08 KB
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
41
42
43
44
45
46
47
48
49
50
name: Changesets
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
id-token: write
env:
CI: true
jobs:
version:
timeout-minutes: 15
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'playcanvas' }}
steps:
- name: Checkout code repository
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup node.js
uses: actions/setup-node@v6
with:
node-version: 24
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build packages for publishing
run: pnpm run build:lib && pnpm run build:blocks
- name: Create and publish versions
uses: changesets/action@v1
with:
commit: "chore: update versions"
title: "chore: update versions"
publish: pnpm -w changeset publish --provenance
createGithubReleases: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}