-
Notifications
You must be signed in to change notification settings - Fork 1
50 lines (44 loc) · 1.13 KB
/
Copy pathrelease.yml
File metadata and controls
50 lines (44 loc) · 1.13 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: Release
on:
push:
tags:
- 'v*'
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
if: github.repository == 'amaify/chainwright'
name: Changesets Release
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [24]
permissions:
contents: write
pull-requests: write
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/setup@v2
with:
runtime: node@${{ matrix.node-version }}
version: 11
install: false
cache: true
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Create release PR or publish
uses: changesets/action@v1
with:
version: pnpm version-package
publish: pnpm release
createGithubReleases: true
commit: "chore(release): version packages"
title: "chore(release): version packages"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}