-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (40 loc) · 1.04 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
40
41
42
43
44
45
name: "Release"
on:
push:
branches:
- main
jobs:
##
# install
##
install:
name: "Install"
runs-on: ubuntu-latest
steps:
- name: "🛎 Checkout"
uses: actions/checkout@v4
- name: "🧶 Setup Yarn Dependencies"
uses: ./.github/actions/use-yarn-dependencies
##
# release
##
release:
name: "Release"
needs: [install]
runs-on: ubuntu-latest
environment: production
steps:
- name: "🛎 Checkout"
uses: actions/checkout@v4
- name: "🧶 Setup Yarn Dependencies"
uses: ./.github/actions/use-yarn-dependencies
- name: "🔖 Release"
env:
# appears on the release commits
GIT_AUTHOR_NAME: kieranroneill
GIT_AUTHOR_EMAIL: [email protected]
GIT_COMMITTER_NAME: kieranroneill
GIT_COMMITTER_EMAIL: [email protected]
# used to push the release commit and create the tags
GITHUB_TOKEN: ${{ secrets.READ_AND_WRITE_REPOS_TOKEN }}
run: yarn semantic-release