Skip to content

Commit de6b7a7

Browse files
authored
Merge pull request #7 from mygamedevtools/feature/add-ci
feat: Add CI
2 parents 06696a4 + 079c51e commit de6b7a7

File tree

3 files changed

+37
-5
lines changed

3 files changed

+37
-5
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
release:
8+
name: release
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
with:
13+
fetch-depth: 0
14+
persist-credentials: false
15+
- name: Release
16+
uses: cycjimmy/[email protected]
17+
with:
18+
extra_plugins: |
19+
@semantic-release/changelog
20+
@semantic-release/git
21+
branch: main
22+
env:
23+
GH_TOKEN: ${{ secrets.GH_TOKEN }}

.releaserc.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"tagFormat": "${version}",
3+
"plugins": [
4+
["@semantic-release/commit-analyzer", { "preset": "angular" }],
5+
"@semantic-release/release-notes-generator",
6+
["@semantic-release/changelog", { "preset": "angular" }],
7+
["@semantic-release/npm", { "npmPublish": false }],
8+
["@semantic-release/git", {
9+
"assets": ["package.json", "CHANGELOG.md"],
10+
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
11+
}],
12+
"@semantic-release/github"
13+
]
14+
}

CHANGELOG.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
Change Log
2-
===
3-
4-
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/).
5-
61
## [3.2.1] - 2022-10-24
72
- Added: OpenUPM documentation.
83

0 commit comments

Comments
 (0)