-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (30 loc) · 760 Bytes
/
release.yml
File metadata and controls
37 lines (30 loc) · 760 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
name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
id-token: write
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Update npm for OIDC support
run: sudo npm install -g npm@latest
- run: bun install
- name: Create Release Pull Request or Publish
uses: changesets/action@v1
with:
publish: bun run release
version: bun run version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ""