-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (31 loc) · 841 Bytes
/
release.yaml
File metadata and controls
39 lines (31 loc) · 841 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
name: Release
on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
release:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: commencis/js-toolkit/.github/actions/setup@main
- name: Lint
run: pnpm run lint
- name: Build
run: pnpm run build
- name: Create Release Pull Request
uses: changesets/action@v1
with:
version: pnpm run version
publish: npx changeset publish
commit: 'ci(release): version packages'
title: 'ci(release): version packages'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}