-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (39 loc) · 989 Bytes
/
release.yml
File metadata and controls
48 lines (39 loc) · 989 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
##
# @description Release automation
# @author C. M. de Picciotto <d3p1@d3p1.dev> (https://d3p1.dev/)
# @link https://semantic-release.gitbook.io/semantic-release/recipes/ci-configurations/github-actions
##
name: Release
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
release:
name : Dispatch release
runs-on: ubuntu-latest
permissions:
contents : write
issues : write
pull-requests: write
id-token : write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v5
with:
node-version: "24"
- name: Install dependencies
run: npm ci
- name: Build library
run: npm run build
- name: Generate release
uses: d3p1/semantic-releasify@v1
env :
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}