-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (33 loc) · 937 Bytes
/
release.yml
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
name: Release PR / Publish
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
env:
NODE_AUTH_TOKEN: ${{ secrets.OWNER_TOKEN }}
NPM_TOKEN: ${{ secrets.OWNER_TOKEN }}
GITHUB_TOKEN: ${{ secrets.OWNER_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: ${{ secrets.PNPM_VERSION }}
- name: setup Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- name: create release pull request / publish
id: changesets
uses: changesets/action@v1
with:
publish: pnpm run publish
version: pnpm run version
title: "chore: update versions"
commit: "chore: update versions"