-
Notifications
You must be signed in to change notification settings - Fork 2
56 lines (44 loc) · 1.12 KB
/
Copy pathrelease-prepare.yml
File metadata and controls
56 lines (44 loc) · 1.12 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
51
52
53
54
55
56
name: Release Prepare
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
concurrency:
group: release-prepare-main
cancel-in-progress: false
jobs:
semantic-release:
runs-on: blacksmith-4vcpu-ubuntu-2404
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.RELEASE_PAT }}
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "24.11.0"
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: "1.3.9"
- name: Install dependencies
run: bun install
- name: Typecheck (Turbo)
run: bun run turbo:typecheck
- name: Privacy check
run: bun run privacy:check
- name: Quality checks (Turbo)
run: bun run turbo:check
- name: Tests (Turbo)
run: bun run turbo:test
- name: Run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_PAT }}
run: bunx semantic-release