-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (37 loc) · 1.22 KB
/
release.yml
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
name: Release
# Controls when the action will run. Triggers the workflow on push or pull request
on:
push:
branches: [master]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
release:
name: Semantic release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.GH_TOKEN_NELSON }}
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: '14'
- name: Install dependencies
run: yarn install --pure-lockfile
- name: Semantic release
uses: cycjimmy/semantic-release-action@v3.1.2
env:
GIT_AUTHOR_NAME: ${{ secrets.GIT_USERNAME }}
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_EMAIL }}
GIT_COMMITTER_NAME: ${{ secrets.GIT_USERNAME }}
GIT_COMMITTER_EMAIL: ${{ secrets.GIT_EMAIL }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_NELSON }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
HUSKY: 0
with:
semantic_version: 17.0.7
extra_plugins: |
@semantic-release/exec@5.0.0
@semantic-release/changelog@5.0.1
@semantic-release/git@9.0.0