-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (29 loc) · 973 Bytes
/
release.yaml
File metadata and controls
33 lines (29 loc) · 973 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
name: Semantic Release
on:
push:
branches: [main, beta]
jobs:
release:
name: Release version
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Setup Node environment
uses: Exlint/node-environment@v1.2.6
with:
should-cache: false
node-version: 18.13.0
package-manager: pnpm
package-manager-version: 7.25.0
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4.2.2
with:
extra_plugins: |
@semantic-release/changelog
@semantic-release/commit-analyzer
@semantic-release/git
@semantic-release/npm
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}