-
Notifications
You must be signed in to change notification settings - Fork 48
39 lines (32 loc) · 820 Bytes
/
release.yml
File metadata and controls
39 lines (32 loc) · 820 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 (Changesets)
on:
workflow_dispatch:
push:
branches: [main]
permissions:
contents: write
pull-requests: write
id-token: write
packages: write
jobs:
release:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: ./.github/actions/setup
with:
node-version: 24
- name: Build Packages
run: npm run build
- name: Check Types
run: npm run attw
- name: Create Release Pull Request or Publish
uses: changesets/action@e0145edc7d9d8679003495b11f87bd8ef63c0cba
with:
version: npm run version
publish: npm run publish
env:
SKIP_HOOKS: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ''