-
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (32 loc) · 838 Bytes
/
release.yml
File metadata and controls
36 lines (32 loc) · 838 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
name: 🔖 Release
on:
workflow_dispatch:
push:
branches:
- main
tags-ignore:
- '**'
jobs:
release:
name: 🔖 Release (${{ github.ref_name }})
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
issues: write
steps:
- name: 🚚 Checkout (${{ github.ref_name }})
uses: actions/checkout@v5
- name: 📥 Cache library
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('./package-lock.json') }}
- name: 🔖 Run semantic release
uses: cycjimmy/semantic-release-action@v4
with:
extra_plugins: |
@semantic-release/git
@semantic-release/exec
env:
GITHUB_TOKEN: ${{ github.token }}