-
Notifications
You must be signed in to change notification settings - Fork 1
50 lines (38 loc) · 912 Bytes
/
release.yml
File metadata and controls
50 lines (38 loc) · 912 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
40
41
42
43
44
45
46
47
48
49
50
name: Release
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install dependencies
run: npm install
- name: Typecheck
run: npx tsc --noEmit
- name: Lint
run: npx biome check .
- name: Test
run: npx vitest run
- name: Build
run: npm run build
- name: Pack tarball
run: npm pack
- name: Generate checksum
run: |
TGZ=$(ls clawtalk-*.tgz)
shasum -a 256 "$TGZ" > "${TGZ}.sha256"
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
files: |
clawtalk-*.tgz
clawtalk-*.tgz.sha256